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>
This commit is contained in:
Mike Frysinger 2009-06-01 13:46:49 +02:00 committed by Jean Delvare
parent 3218911f83
commit 39d8bbedb9
1 changed files with 1 additions and 1 deletions

View File

@ -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),
};