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