Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / net / wireless / realtek / rtw88 / rtw8822ce.c
blob3845b1333dc39846c444aa1f1bf529b72b8c5f62
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 "rtw8822ce.h"
10 static const struct pci_device_id rtw_8822ce_id_table[] = {
12 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC822),
13 .driver_data = (kernel_ulong_t)&rtw8822c_hw_spec
16 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC82F),
17 .driver_data = (kernel_ulong_t)&rtw8822c_hw_spec
21 MODULE_DEVICE_TABLE(pci, rtw_8822ce_id_table);
23 static struct pci_driver rtw_8822ce_driver = {
24 .name = "rtw_8822ce",
25 .id_table = rtw_8822ce_id_table,
26 .probe = rtw_pci_probe,
27 .remove = rtw_pci_remove,
28 .driver.pm = &rtw_pm_ops,
29 .shutdown = rtw_pci_shutdown,
31 module_pci_driver(rtw_8822ce_driver);
33 MODULE_AUTHOR("Realtek Corporation");
34 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822ce driver");
35 MODULE_LICENSE("Dual BSD/GPL");