projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1187f
)
hwmon: (drivetemp) Add module alias
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 12 Jul 2022 21:46:24 +0000
(23:46 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 13 Jul 2022 15:39:42 +0000
(08:39 -0700)
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: 5b46903d8bf3 ("hwmon: Driver for disk and solid state drives with temperature sensors")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/drivetemp.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/drivetemp.c
b/drivers/hwmon/drivetemp.c
index 1eb37106a220bb05530f24d05ca6ee59acc4b3df..5bac2b0fc7bb6ada463a45d8c6516c36046f22a5 100644
(file)
--- a/
drivers/hwmon/drivetemp.c
+++ b/
drivers/hwmon/drivetemp.c
@@
-621,3
+621,4
@@
module_exit(drivetemp_exit);
MODULE_AUTHOR("Guenter Roeck <linus@roeck-us.net>");
MODULE_DESCRIPTION("Hard drive temperature monitor");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:drivetemp");