18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
28c2ecf20Sopenharmony_ci/* Copyright(c) 2018-2019  Realtek Corporation
38c2ecf20Sopenharmony_ci */
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/module.h>
68c2ecf20Sopenharmony_ci#include <linux/pci.h>
78c2ecf20Sopenharmony_ci#include "rtw8821ce.h"
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cistatic const struct pci_device_id rtw_8821ce_id_table[] = {
108c2ecf20Sopenharmony_ci	{
118c2ecf20Sopenharmony_ci		PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC821),
128c2ecf20Sopenharmony_ci		.driver_data = (kernel_ulong_t)&rtw8821c_hw_spec
138c2ecf20Sopenharmony_ci	},
148c2ecf20Sopenharmony_ci	{}
158c2ecf20Sopenharmony_ci};
168c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(pci, rtw_8821ce_id_table);
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_cistatic struct pci_driver rtw_8821ce_driver = {
198c2ecf20Sopenharmony_ci	.name = "rtw_8821ce",
208c2ecf20Sopenharmony_ci	.id_table = rtw_8821ce_id_table,
218c2ecf20Sopenharmony_ci	.probe = rtw_pci_probe,
228c2ecf20Sopenharmony_ci	.remove = rtw_pci_remove,
238c2ecf20Sopenharmony_ci	.driver.pm = &rtw_pm_ops,
248c2ecf20Sopenharmony_ci	.shutdown = rtw_pci_shutdown,
258c2ecf20Sopenharmony_ci};
268c2ecf20Sopenharmony_cimodule_pci_driver(rtw_8821ce_driver);
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciMODULE_AUTHOR("Realtek Corporation");
298c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("Realtek 802.11ac wireless 8821ce driver");
308c2ecf20Sopenharmony_ciMODULE_LICENSE("Dual BSD/GPL");
31