diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-02-01 00:24:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-02 18:55:43 -0500 |
commit | 6a902881cc6993f136906559ca04b6a4c9e260fc (patch) | |
tree | 8bd9f4d6bc9a19babed9f3677bf6a7a1523d7c8c /drivers/net/qlcnic | |
parent | 0c2dc318e88100e1abdff07e8a7d60460984a2d2 (diff) |
qlcnic: 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: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c index 1698b6a68ed1..05275f2153be 100644 --- a/drivers/net/qlcnic/qlcnic_main.c +++ b/drivers/net/qlcnic/qlcnic_main.c | |||
@@ -102,7 +102,7 @@ static void qlcnic_config_indev_addr(struct net_device *dev, unsigned long); | |||
102 | 102 | ||
103 | #define PCI_DEVICE_ID_QLOGIC_QLE824X 0x8020 | 103 | #define PCI_DEVICE_ID_QLOGIC_QLE824X 0x8020 |
104 | 104 | ||
105 | static const struct pci_device_id qlcnic_pci_tbl[] __devinitdata = { | 105 | static DEFINE_PCI_DEVICE_TABLE(qlcnic_pci_tbl) = { |
106 | ENTRY(PCI_DEVICE_ID_QLOGIC_QLE824X), | 106 | ENTRY(PCI_DEVICE_ID_QLOGIC_QLE824X), |
107 | {0,} | 107 | {0,} |
108 | }; | 108 | }; |