Skip to content

Commit

Permalink
qlcnic: use DEFINE_PCI_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amit Kumar Salecha authored and David S. Miller committed Feb 2, 2010
1 parent 0c2dc31 commit 6a90288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/qlcnic/qlcnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,}
};
Expand Down

0 comments on commit 6a90288

Please sign in to comment.