summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ultra45_env.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-10-10 15:25:56 +0200
committerJean Delvare <khali@endymion.delvare>2012-10-10 15:25:56 +0200
commitfa845740cbc565d8f52c32973bb598743eb0d995 (patch)
tree6015e01b2858271ccdbb5dd20f7996eff585db47 /drivers/hwmon/ultra45_env.c
parentdcd8f39230b9f724ba4f55f14ed2bb8119204385 (diff)
downloadlinux-fa845740cbc565d8f52c32973bb598743eb0d995.tar.bz2
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/ultra45_env.c')
-rw-r--r--drivers/hwmon/ultra45_env.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/ultra45_env.c b/drivers/hwmon/ultra45_env.c
index c315c59f61fe..44136bb6d045 100644
--- a/drivers/hwmon/ultra45_env.c
+++ b/drivers/hwmon/ultra45_env.c
@@ -12,6 +12,7 @@
#include <linux/io.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
+#include <linux/err.h>
#define DRV_MODULE_VERSION "0.1"