diff options
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r-- | drivers/net/qla3xxx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index dd35066a7f8d..4ef0afbcbe1b 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -61,7 +61,7 @@ static int msi; | |||
61 | module_param(msi, int, 0); | 61 | module_param(msi, int, 0); |
62 | MODULE_PARM_DESC(msi, "Turn on Message Signaled Interrupts."); | 62 | MODULE_PARM_DESC(msi, "Turn on Message Signaled Interrupts."); |
63 | 63 | ||
64 | static struct pci_device_id ql3xxx_pci_tbl[] __devinitdata = { | 64 | static DEFINE_PCI_DEVICE_TABLE(ql3xxx_pci_tbl) = { |
65 | {PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, QL3022_DEVICE_ID)}, | 65 | {PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, QL3022_DEVICE_ID)}, |
66 | {PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, QL3032_DEVICE_ID)}, | 66 | {PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, QL3032_DEVICE_ID)}, |
67 | /* required last entry */ | 67 | /* required last entry */ |
@@ -4087,7 +4087,6 @@ static void __devexit ql3xxx_remove(struct pci_dev *pdev) | |||
4087 | struct ql3_adapter *qdev = netdev_priv(ndev); | 4087 | struct ql3_adapter *qdev = netdev_priv(ndev); |
4088 | 4088 | ||
4089 | unregister_netdev(ndev); | 4089 | unregister_netdev(ndev); |
4090 | qdev = netdev_priv(ndev); | ||
4091 | 4090 | ||
4092 | ql_disable_interrupts(qdev); | 4091 | ql_disable_interrupts(qdev); |
4093 | 4092 | ||