projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5695f0
)
[ATM]: [fore200e] pci doesn't use global board list; use pci_register_driver()
author
chas williams
<chas@cmf.nrl.navy.mil>
Mon, 25 Apr 2005 01:58:15 +0000
(18:58 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Apr 2005 01:58:15 +0000
(18:58 -0700)
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/atm/fore200e.c
b/drivers/atm/fore200e.c
index 196b336446275d4816f0228c29a25bf595d9a11c..9e65bfb85ba325285f299dcaf82388146bcafebb 100644
(file)
--- 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