Skip to content

Commit

Permalink
hwmon: (lm75.h) Update header inclusion
Browse files Browse the repository at this point in the history
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: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Mar 18, 2013
1 parent 9487754 commit 5a4c060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/lm75.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
which contains this code, we don't worry about the wasted space.
*/

#include <linux/hwmon.h>
#include <linux/kernel.h>

/* straight from the datasheet */
#define LM75_TEMP_MIN (-55000)
Expand Down

0 comments on commit 5a4c060

Please sign in to comment.