1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 3 */ 4 5 #include <linux/module.h> 6 #include <linux/pci.h> 7 #include "rtw8822ce.h" 8 9 static const struct pci_device_id rtw_8822ce_id_table[] = { 10 { 11 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC822), 12 .driver_data = (kernel_ulong_t)&rtw8822c_hw_spec 13 }, 14 { 15 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC82F), 16 .driver_data = (kernel_ulong_t)&rtw8822c_hw_spec 17 }, 18 {} 19 }; 20 MODULE_DEVICE_TABLE(pci, rtw_8822ce_id_table); 21 22 static struct pci_driver rtw_8822ce_driver = { 23 .name = "rtw_8822ce", 24 .id_table = rtw_8822ce_id_table, 25 .probe = rtw_pci_probe, 26 .remove = rtw_pci_remove, 27 .driver.pm = &rtw_pm_ops, 28 .shutdown = rtw_pci_shutdown, 29 }; 30 module_pci_driver(rtw_8822ce_driver); 31 32 MODULE_AUTHOR("Realtek Corporation"); 33 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822ce driver"); 34 MODULE_LICENSE("Dual BSD/GPL"); 35