summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/drivetemp.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-07-12 23:46:24 +0200
committerGuenter Roeck <linux@roeck-us.net>2022-07-13 17:39:42 +0200
commit5918036cfa8ded7aa8094db70295011ce2275447 (patch)
treee9ad166b2e6a2512845b63a489bd40c877479a59 /drivers/hwmon/drivetemp.c
parenthwmon: (asus_wmi_sensors) Save a few bytes of memory (diff)
downloadlinux-5918036cfa8ded7aa8094db70295011ce2275447.tar.xz
linux-5918036cfa8ded7aa8094db70295011ce2275447.zip
hwmon: (drivetemp) Add module alias
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>
Diffstat (limited to 'drivers/hwmon/drivetemp.c')
-rw-r--r--drivers/hwmon/drivetemp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/drivetemp.c b/drivers/hwmon/drivetemp.c
index 1eb37106a220..5bac2b0fc7bb 100644
--- 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");