diff options
author | 2005-04-24 18:58:15 -0700 | |
---|---|---|
committer | 2005-04-24 18:58:15 -0700 | |
commit | 18900829f32443658ca4d4793c01621c75d551c1 (patch) | |
tree | cc0b1da822bfc941ad9049f85b7cc23c0f0dfc06 /drivers/atm | |
parent | [ATM]: [he] Use the DMA_32BIT_MASK constant from dma-mapping.h (diff) | |
download | linux-18900829f32443658ca4d4793c01621c75d551c1.tar.gz linux-18900829f32443658ca4d4793c01621c75d551c1.tar.bz2 linux-18900829f32443658ca4d4793c01621c75d551c1.zip |
[ATM]: [fore200e] pci doesn't use global board list; use pci_register_driver()
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/fore200e.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index 196b33644627..9e65bfb85ba3 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c @@ -2792,8 +2792,6 @@ static void __devexit fore200e_pca_remove_one(struct pci_dev *pci_dev) fore200e = pci_get_drvdata(pci_dev); - list_del(&fore200e->entry); - fore200e_shutdown(fore200e); kfree(fore200e); pci_disable_device(pci_dev); @@ -2850,7 +2848,7 @@ fore200e_module_init(void) } #ifdef CONFIG_ATM_FORE200E_PCA - if (!pci_module_init(&fore200e_pca_driver)) + if (!pci_register_driver(&fore200e_pca_driver)) return 0; #endif |