From: Mike Frysinger Date: Tue, 2 Jun 2009 12:22:49 +0000 (+0200) Subject: hwmon: (lm78) Add missing __devexit_p() X-Git-Tag: v2.6.27.25~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8bcb39871c7418d9649de5ce64474a980814325;p=thirdparty%2Fkernel%2Fstable.git hwmon: (lm78) Add missing __devexit_p() commit 39d8bbedb9571a89d638f5b05358f26ab503d7a6 upstream. 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 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index ed7859f0e16a9..affee011d1ade 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c @@ -178,7 +178,7 @@ static struct platform_driver lm78_isa_driver = { .name = "lm78", }, .probe = lm78_isa_probe, - .remove = lm78_isa_remove, + .remove = __devexit_p(lm78_isa_remove), };