Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39d8bbed authored by Mike Frysinger's avatar Mike Frysinger Committed by Jean Delvare
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 3218911f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),
};