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:
8f101a0
)
edac: add missing __devexit_p()
author
Mike Frysinger
<
[email protected]
>
Wed, 17 Jun 2009 23:28:01 +0000
(16:28 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 18 Jun 2009 20:03:57 +0000
(13:03 -0700)
The remove function uses __devexit, so the .remove assignment needs
__devexit_p() to fix a build error with hotplug disabled.
Signed-off-by: Mike Frysinger <
[email protected]
>
Cc: Doug Thompson <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/edac/cell_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/cell_edac.c
b/drivers/edac/cell_edac.c
index cb0f639f049d4d8cb3e69d052d5dbd78b8c1b317..c973004c002cd23125665d55ab6f1d81e34ef202 100644
(file)
--- a/
drivers/edac/cell_edac.c
+++ b/
drivers/edac/cell_edac.c
@@
-227,7
+227,7
@@
static struct platform_driver cell_edac_driver = {
.owner = THIS_MODULE,
},
.probe = cell_edac_probe,
- .remove =
cell_edac_remove
,
+ .remove =
__devexit_p(cell_edac_remove)
,
};
static int __init cell_edac_init(void)