diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-10-10 09:25:56 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-10-10 09:25:56 -0400 |
commit | fa845740cbc565d8f52c32973bb598743eb0d995 (patch) | |
tree | 6015e01b2858271ccdbb5dd20f7996eff585db47 /drivers/hwmon/ibmaem.c | |
parent | dcd8f39230b9f724ba4f55f14ed2bb8119204385 (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/ibmaem.c')
-rw-r--r-- | drivers/hwmon/ibmaem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/ibmaem.c b/drivers/hwmon/ibmaem.c index 37f17e0d9d5d..a14f634248e7 100644 --- a/drivers/hwmon/ibmaem.c +++ b/drivers/hwmon/ibmaem.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <linux/platform_device.h> | 36 | #include <linux/platform_device.h> |
37 | #include <linux/math64.h> | 37 | #include <linux/math64.h> |
38 | #include <linux/time.h> | 38 | #include <linux/time.h> |
39 | #include <linux/err.h> | ||
39 | 40 | ||
40 | #define REFRESH_INTERVAL (HZ) | 41 | #define REFRESH_INTERVAL (HZ) |
41 | #define IPMI_TIMEOUT (30 * HZ) | 42 | #define IPMI_TIMEOUT (30 * HZ) |