提交 39d8bbed 编写于 作者: M Mike Frysinger 提交者: Jean Delvare

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: NMike Frysinger <vapier@gentoo.org>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 3218911f
...@@ -182,7 +182,7 @@ static struct platform_driver lm78_isa_driver = { ...@@ -182,7 +182,7 @@ static struct platform_driver lm78_isa_driver = {
.name = "lm78", .name = "lm78",
}, },
.probe = lm78_isa_probe, .probe = lm78_isa_probe,
.remove = lm78_isa_remove, .remove = __devexit_p(lm78_isa_remove),
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册