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 };
16 MODULE_DEVICE_TABLE(pci, rtw_8822ce_id_table);
17 
18 static struct pci_driver rtw_8822ce_driver = {
19 	.name = "rtw_8822ce",
20 	.id_table = rtw_8822ce_id_table,
21 	.probe = rtw_pci_probe,
22 	.remove = rtw_pci_remove,
23 	.driver.pm = &rtw_pm_ops,
24 	.shutdown = rtw_pci_shutdown,
25 };
26 module_pci_driver(rtw_8822ce_driver);
27 
28 MODULE_AUTHOR("Realtek Corporation");
29 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822ce driver");
30 MODULE_LICENSE("Dual BSD/GPL");
31