aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83l786ng.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-10-10 09:25:56 -0400
committerJean Delvare <khali@endymion.delvare>2012-10-10 09:25:56 -0400
commitdcd8f39230b9f724ba4f55f14ed2bb8119204385 (patch)
tree73f6aa181eaa9083447fc04af28fbdc3f5d775eb /drivers/hwmon/w83l786ng.c
parent4d7e47bc83438e366195512fde34015b30ec5921 (diff)
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/w83l786ng.c')
-rw-r--r--drivers/hwmon/w83l786ng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/w83l786ng.c b/drivers/hwmon/w83l786ng.c
index c99c8a0473cf..f0e8286c3c70 100644
--- a/drivers/hwmon/w83l786ng.c
+++ b/drivers/hwmon/w83l786ng.c
@@ -33,6 +33,7 @@
33#include <linux/hwmon-sysfs.h> 33#include <linux/hwmon-sysfs.h>
34#include <linux/err.h> 34#include <linux/err.h>
35#include <linux/mutex.h> 35#include <linux/mutex.h>
36#include <linux/jiffies.h>
36 37
37/* Addresses to scan */ 38/* Addresses to scan */
38static const unsigned short normal_i2c[] = { 0x2e, 0x2f, I2C_CLIENT_END }; 39static const unsigned short normal_i2c[] = { 0x2e, 0x2f, I2C_CLIENT_END };