aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ibmpex.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
commitfa845740cbc565d8f52c32973bb598743eb0d995 (patch)
tree6015e01b2858271ccdbb5dd20f7996eff585db47 /drivers/hwmon/ibmpex.c
parentdcd8f39230b9f724ba4f55f14ed2bb8119204385 (diff)
hwmon: Add missing inclusions of <linux/err.h>
These drivers use IS_ERR so they should include <linux/err.h>. 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: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/hwmon/ibmpex.c')
-rw-r--r--drivers/hwmon/ibmpex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/ibmpex.c b/drivers/hwmon/ibmpex.c
index 41dbf8161ed7..b622a93ec32c 100644
--- a/drivers/hwmon/ibmpex.c
+++ b/drivers/hwmon/ibmpex.c
@@ -26,6 +26,7 @@
26#include <linux/jiffies.h> 26#include <linux/jiffies.h>
27#include <linux/mutex.h> 27#include <linux/mutex.h>
28#include <linux/slab.h> 28#include <linux/slab.h>
29#include <linux/err.h>
29 30
30#define REFRESH_INTERVAL (2 * HZ) 31#define REFRESH_INTERVAL (2 * HZ)
31#define DRVNAME "ibmpex" 32#define DRVNAME "ibmpex"