diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-01 07:46:49 -0400 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-06-01 07:46:49 -0400 |
commit | 39d8bbedb9571a89d638f5b05358f26ab503d7a6 (patch) | |
tree | 9868e75fa933a384d90e80c26ee369a6cf2cc8ad /drivers/hwmon | |
parent | 3218911f839b6c85acbf872ad264ea69aa4d89ad (diff) |
hwmon: (lm78) Add missing __devexit_p()
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/lm78.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index b5e3b2851698..a1787fdf5b9f 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c | |||
@@ -182,7 +182,7 @@ static struct platform_driver lm78_isa_driver = { | |||
182 | .name = "lm78", | 182 | .name = "lm78", |
183 | }, | 183 | }, |
184 | .probe = lm78_isa_probe, | 184 | .probe = lm78_isa_probe, |
185 | .remove = lm78_isa_remove, | 185 | .remove = __devexit_p(lm78_isa_remove), |
186 | }; | 186 | }; |
187 | 187 | ||
188 | 188 | ||