drivers/net/: use DEFINE_PCI_DEVICE_TABLE()
Use DEFINE_PCI_DEVICE_TABLE() so we get place PCI ids table into correct section in every case. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
108316c1bd
commit
a3aa18842a
@@ -168,7 +168,7 @@ static void rtl_hw_start_8169(struct net_device *);
|
||||
static void rtl_hw_start_8168(struct net_device *);
|
||||
static void rtl_hw_start_8101(struct net_device *);
|
||||
|
||||
static struct pci_device_id rtl8169_pci_tbl[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(rtl8169_pci_tbl) = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8129), 0, 0, RTL_CFG_0 },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8136), 0, 0, RTL_CFG_2 },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_0 },
|
||||
|
Reference in New Issue
Block a user