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:
3218911
)
hwmon: (lm78) Add missing __devexit_p()
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 1 Jun 2009 11:46:49 +0000
(13:46 +0200)
committer
Jean Delvare
<khali@linux-fr.org>
Mon, 1 Jun 2009 11:46:49 +0000
(13:46 +0200)
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 <vapier@gentoo.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm78.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/lm78.c
b/drivers/hwmon/lm78.c
index b5e3b28516987d51a45f63bb45c3d59dceee090d..a1787fdf5b9f7a94d2578de6e2e710a6da0f372a 100644
(file)
--- a/
drivers/hwmon/lm78.c
+++ b/
drivers/hwmon/lm78.c
@@
-182,7
+182,7
@@
static struct platform_driver lm78_isa_driver = {
.name = "lm78",
},
.probe = lm78_isa_probe,
- .remove =
lm78_isa_remove
,
+ .remove =
__devexit_p(lm78_isa_remove)
,
};