1*11c53278SBjoern A. Zeeb // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2*11c53278SBjoern A. Zeeb /* Copyright Fiona Klute <fiona.klute@gmx.de> */ 3*11c53278SBjoern A. Zeeb 4*11c53278SBjoern A. Zeeb #include <linux/mmc/sdio_func.h> 5*11c53278SBjoern A. Zeeb #include <linux/mmc/sdio_ids.h> 6*11c53278SBjoern A. Zeeb #include <linux/module.h> 7*11c53278SBjoern A. Zeeb #include "main.h" 8*11c53278SBjoern A. Zeeb #include "rtw8703b.h" 9*11c53278SBjoern A. Zeeb #include "sdio.h" 10*11c53278SBjoern A. Zeeb 11*11c53278SBjoern A. Zeeb static const struct sdio_device_id rtw_8723cs_id_table[] = { 12*11c53278SBjoern A. Zeeb { 13*11c53278SBjoern A. Zeeb SDIO_DEVICE(SDIO_VENDOR_ID_REALTEK, 14*11c53278SBjoern A. Zeeb SDIO_DEVICE_ID_REALTEK_RTW8723CS), 15*11c53278SBjoern A. Zeeb .driver_data = (kernel_ulong_t)&rtw8703b_hw_spec, 16*11c53278SBjoern A. Zeeb }, 17*11c53278SBjoern A. Zeeb {} 18*11c53278SBjoern A. Zeeb }; 19*11c53278SBjoern A. Zeeb MODULE_DEVICE_TABLE(sdio, rtw_8723cs_id_table); 20*11c53278SBjoern A. Zeeb 21*11c53278SBjoern A. Zeeb static struct sdio_driver rtw_8723cs_driver = { 22*11c53278SBjoern A. Zeeb .name = "rtw8723cs", 23*11c53278SBjoern A. Zeeb .id_table = rtw_8723cs_id_table, 24*11c53278SBjoern A. Zeeb .probe = rtw_sdio_probe, 25*11c53278SBjoern A. Zeeb .remove = rtw_sdio_remove, 26*11c53278SBjoern A. Zeeb .drv = { 27*11c53278SBjoern A. Zeeb .pm = &rtw_sdio_pm_ops, 28*11c53278SBjoern A. Zeeb .shutdown = rtw_sdio_shutdown 29*11c53278SBjoern A. Zeeb }}; 30*11c53278SBjoern A. Zeeb module_sdio_driver(rtw_8723cs_driver); 31*11c53278SBjoern A. Zeeb 32*11c53278SBjoern A. Zeeb MODULE_AUTHOR("Fiona Klute <fiona.klute@gmx.de>"); 33*11c53278SBjoern A. Zeeb MODULE_DESCRIPTION("Realtek 802.11n wireless 8723cs driver"); 34*11c53278SBjoern A. Zeeb MODULE_LICENSE("Dual BSD/GPL"); 35