projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce501ca
)
don't use __devexit_p to wrap meth_remove
author
Uwe Kleine-König
<
[email protected]
>
Wed, 30 Sep 2009 22:28:17 +0000
(22:28 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 1 Oct 2009 21:34:40 +0000
(14:34 -0700)
The function meth_remove is defined using __exit, so don't use __devexit_p
but __exit_p to wrap it.
Signed-off-by: Uwe Kleine-König <
[email protected]
>
Cc: David S. Miller <
[email protected]
>
Cc: Ralf Baechle <
[email protected]
>
Cc: Patrick McHardy <
[email protected]
>
Cc: Johannes Berg <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/meth.c
patch
|
blob
|
history
diff --git
a/drivers/net/meth.c
b/drivers/net/meth.c
index 92ceb689b4d49c854a669cda872cff1da7822d18..2af81735386b86066c30d7ebbf9d99da59e2236e 100644
(file)
--- a/
drivers/net/meth.c
+++ b/
drivers/net/meth.c
@@
-828,7
+828,7
@@
static int __exit meth_remove(struct platform_device *pdev)
static struct platform_driver meth_driver = {
.probe = meth_probe,
- .remove = __
dev
exit_p(meth_remove),
+ .remove = __exit_p(meth_remove),
.driver = {
.name = "meth",
.owner = THIS_MODULE,