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
@@ -3628,7 +3628,7 @@ static int __devinit dfx_pci_register(struct pci_dev *,
|
||||
const struct pci_device_id *);
|
||||
static void __devexit dfx_pci_unregister(struct pci_dev *);
|
||||
|
||||
static struct pci_device_id dfx_pci_table[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(dfx_pci_table) = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_FDDI) },
|
||||
{ }
|
||||
};
|
||||
|
Reference in New Issue
Block a user