diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-10-10 15:25:56 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-10-10 15:25:56 +0200 |
commit | dcd8f39230b9f724ba4f55f14ed2bb8119204385 (patch) | |
tree | 73f6aa181eaa9083447fc04af28fbdc3f5d775eb /drivers/hwmon/ltc4151.c | |
parent | hwmon: Fix spelling of Celsius (diff) | |
download | linux-dcd8f39230b9f724ba4f55f14ed2bb8119204385.tar.xz linux-dcd8f39230b9f724ba4f55f14ed2bb8119204385.zip |
hwmon: Add missing inclusions of <linux/jiffies.h>
Many hwmon drivers use jiffies but omit the inclusion of the header
file. Fix that, and also fix one driver which was including the header
file but didn't need it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Luca Tettamanti <kronos.it@gmail.com>
Cc: Marc Hulsman <m.hulsman@tudelft.nl>
Cc: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'drivers/hwmon/ltc4151.c')
-rw-r--r-- | drivers/hwmon/ltc4151.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/ltc4151.c b/drivers/hwmon/ltc4151.c index 8496baa08bc8..4319a94f549d 100644 --- a/drivers/hwmon/ltc4151.c +++ b/drivers/hwmon/ltc4151.c @@ -36,6 +36,7 @@ #include <linux/i2c.h> #include <linux/hwmon.h> #include <linux/hwmon-sysfs.h> +#include <linux/jiffies.h> /* chip registers */ #define LTC4151_SENSE_H 0x00 |