summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@men.de>2014-10-16 15:07:51 +0200
committerGuenter Roeck <linux@roeck-us.net>2014-10-20 03:41:18 +0200
commit3d5960472de0a245c56ba55e9a59b8d0f4c69cb4 (patch)
treee58dbe8e4e92fbb7b68fa6bc8ac3d385a2aae079 /drivers
parentLinux 3.18-rc1 (diff)
downloadlinux-3d5960472de0a245c56ba55e9a59b8d0f4c69cb4.tar.xz
linux-3d5960472de0a245c56ba55e9a59b8d0f4c69cb4.zip
hwmon: (menf21bmc) Include linux/err.h
Include linux/err.h to get the definitions for IS_ERR() PTR_ERR() and ERR_PTR() used in the driver. This fixes compilation on powerpc targets. Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/menf21bmc_hwmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/menf21bmc_hwmon.c b/drivers/hwmon/menf21bmc_hwmon.c
index c92229d321c9..afc6b58eaa62 100644
--- a/drivers/hwmon/menf21bmc_hwmon.c
+++ b/drivers/hwmon/menf21bmc_hwmon.c
@@ -21,6 +21,7 @@
#include <linux/jiffies.h>
#include <linux/slab.h>
#include <linux/i2c.h>
+#include <linux/err.h>
#define DRV_NAME "menf21bmc_hwmon"