mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
hwmon: (drivetemp) Add module alias
[ Upstream commit5918036cfa] Adding a MODULE_ALIAS() to drivetemp will make the driver easier for modprobe to autoprobe. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20220712214624.1845158-1-linus.walleij@linaro.org Fixes:5b46903d8b("hwmon: Driver for disk and solid state drives with temperature sensors") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ed6ae23811
commit
d125b13a66
|
|
@ -621,3 +621,4 @@ module_exit(drivetemp_exit);
|
||||||
MODULE_AUTHOR("Guenter Roeck <linus@roeck-us.net>");
|
MODULE_AUTHOR("Guenter Roeck <linus@roeck-us.net>");
|
||||||
MODULE_DESCRIPTION("Hard drive temperature monitor");
|
MODULE_DESCRIPTION("Hard drive temperature monitor");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_ALIAS("platform:drivetemp");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user