32 lines · c
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause2/* Copyright(c) 2018-2019 Realtek Corporation3 */4 5#include <linux/module.h>6#include <linux/pci.h>7#include "pci.h"8#include "rtw8723d.h"9 10static const struct pci_device_id rtw_8723de_id_table[] = {11 {12 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xD723),13 .driver_data = (kernel_ulong_t)&rtw8723d_hw_spec14 },15 {}16};17MODULE_DEVICE_TABLE(pci, rtw_8723de_id_table);18 19static struct pci_driver rtw_8723de_driver = {20 .name = "rtw_8723de",21 .id_table = rtw_8723de_id_table,22 .probe = rtw_pci_probe,23 .remove = rtw_pci_remove,24 .driver.pm = &rtw_pm_ops,25 .shutdown = rtw_pci_shutdown,26};27module_pci_driver(rtw_8723de_driver);28 29MODULE_AUTHOR("Realtek Corporation");30MODULE_DESCRIPTION("Realtek 802.11n wireless 8723de driver");31MODULE_LICENSE("Dual BSD/GPL");32