Loading...
Note: File does not exist in v6.9.4.
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
11static 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};
19MODULE_DEVICE_TABLE(sdio, rtw_8723cs_id_table);
20
21static 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 }};
30module_sdio_driver(rtw_8723cs_driver);
31
32MODULE_AUTHOR("Fiona Klute <fiona.klute@gmx.de>");
33MODULE_DESCRIPTION("Realtek 802.11n wireless 8723cs driver");
34MODULE_LICENSE("Dual BSD/GPL");