Commit 5a4c0601 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

hwmon: (lm75.h) Update header inclusion

File lm75.h used to include <linux/hwmon.h> for SENSORS_LIMIT() but
this function is gone by now. Instead we call clamp_val() so we should
include <linux/kernel.h>, where this function is declared.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 94877548
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
which contains this code, we don't worry about the wasted space. which contains this code, we don't worry about the wasted space.
*/ */
#include <linux/hwmon.h> #include <linux/kernel.h>
/* straight from the datasheet */ /* straight from the datasheet */
#define LM75_TEMP_MIN (-55000) #define LM75_TEMP_MIN (-55000)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment