projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2dc31
)
qlcnic: use DEFINE_PCI_DEVICE_TABLE
author
Amit Kumar Salecha
<amit.salecha@qlogic.com>
Mon, 1 Feb 2010 05:24:54 +0000
(
05:24
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 2 Feb 2010 23:55:43 +0000
(15:55 -0800)
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>
drivers/net/qlcnic/qlcnic_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/qlcnic/qlcnic_main.c
b/drivers/net/qlcnic/qlcnic_main.c
index 1698b6a68ed1a303eac75c950c15b0f42aa3acbf..05275f2153be6c25e1766306e59d4c69e31ff251 100644
(file)
--- 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);
#define PCI_DEVICE_ID_QLOGIC_QLE824X 0x8020
-static
const struct pci_device_id qlcnic_pci_tbl[] __devinitdata
= {
+static
DEFINE_PCI_DEVICE_TABLE(qlcnic_pci_tbl)
= {
ENTRY(PCI_DEVICE_ID_QLOGIC_QLE824X),
{0,}
};