Skip to content

Commit

Permalink
[ATM]: [fore200e] pci doesn't use global board list; use pci_register…
Browse files Browse the repository at this point in the history
…_driver()

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
chas williams authored and davem330 committed Apr 25, 2005
1 parent e5695f0 commit 1890082
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/atm/fore200e.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 1890082

Please sign in to comment.