Skip to content

Commit

Permalink
hwmon: (lm78) Add missing __devexit_p()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vapier authored and Jean Delvare committed Jun 1, 2009
1 parent 3218911 commit 39d8bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/lm78.c
Expand Up @@ -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),
};


Expand Down

0 comments on commit 39d8bbe

Please sign in to comment.