pci.c (416e87fcc780cae8d72cb9370fa0f46007faa69a) | pci.c (f56f08636ddac358b4e57494b569e5c2174c5fd3) |
---|---|
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 "main.h" 8#include "pci.h" --- 1580 unchanged lines hidden (view full) --- 1589 chip = rtwdev->chip; 1590 1591 if (chip->ops->shutdown) 1592 chip->ops->shutdown(rtwdev); 1593} 1594EXPORT_SYMBOL(rtw_pci_shutdown); 1595 1596static const struct pci_device_id rtw_pci_id_table[] = { | 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 "main.h" 8#include "pci.h" --- 1580 unchanged lines hidden (view full) --- 1589 chip = rtwdev->chip; 1590 1591 if (chip->ops->shutdown) 1592 chip->ops->shutdown(rtwdev); 1593} 1594EXPORT_SYMBOL(rtw_pci_shutdown); 1595 1596static const struct pci_device_id rtw_pci_id_table[] = { |
1597#ifdef CONFIG_RTW88_8723DE 1598 { RTK_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xD723, rtw8723d_hw_spec) }, 1599#endif | |
1600 {}, 1601}; 1602MODULE_DEVICE_TABLE(pci, rtw_pci_id_table); 1603 1604static struct pci_driver rtw_pci_driver = { 1605 .name = "rtw_pci", 1606 .id_table = rtw_pci_id_table, 1607 .probe = rtw_pci_probe, 1608 .remove = rtw_pci_remove, 1609 .driver.pm = &rtw_pm_ops, 1610 .shutdown = rtw_pci_shutdown, 1611}; 1612module_pci_driver(rtw_pci_driver); 1613 1614MODULE_AUTHOR("Realtek Corporation"); 1615MODULE_DESCRIPTION("Realtek 802.11ac wireless PCI driver"); 1616MODULE_LICENSE("Dual BSD/GPL"); | 1597 {}, 1598}; 1599MODULE_DEVICE_TABLE(pci, rtw_pci_id_table); 1600 1601static struct pci_driver rtw_pci_driver = { 1602 .name = "rtw_pci", 1603 .id_table = rtw_pci_id_table, 1604 .probe = rtw_pci_probe, 1605 .remove = rtw_pci_remove, 1606 .driver.pm = &rtw_pm_ops, 1607 .shutdown = rtw_pci_shutdown, 1608}; 1609module_pci_driver(rtw_pci_driver); 1610 1611MODULE_AUTHOR("Realtek Corporation"); 1612MODULE_DESCRIPTION("Realtek 802.11ac wireless PCI driver"); 1613MODULE_LICENSE("Dual BSD/GPL"); |