Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / net / wireless / realtek / rtw88 / rtw8821ce.c
blobf34de115e4bc478860c7b2fe1e9bc409ba3f4758
1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
3 */
5 #include <linux/module.h>
6 #include <linux/pci.h>
7 #include "pci.h"
8 #include "rtw8821ce.h"
10 static const struct pci_device_id rtw_8821ce_id_table[] = {
12 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC821),
13 .driver_data = (kernel_ulong_t)&rtw8821c_hw_spec
17 MODULE_DEVICE_TABLE(pci, rtw_8821ce_id_table);
19 static struct pci_driver rtw_8821ce_driver = {
20 .name = "rtw_8821ce",
21 .id_table = rtw_8821ce_id_table,
22 .probe = rtw_pci_probe,
23 .remove = rtw_pci_remove,
24 .driver.pm = &rtw_pm_ops,
25 .shutdown = rtw_pci_shutdown,
27 module_pci_driver(rtw_8821ce_driver);
29 MODULE_AUTHOR("Realtek Corporation");
30 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8821ce driver");
31 MODULE_LICENSE("Dual BSD/GPL");