diff options
author | Johannes Thumshirn <johannes.thumshirn@men.de> | 2014-10-16 15:07:51 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-10-19 18:41:18 -0700 |
commit | 3d5960472de0a245c56ba55e9a59b8d0f4c69cb4 (patch) | |
tree | e58dbe8e4e92fbb7b68fa6bc8ac3d385a2aae079 /drivers/hwmon/menf21bmc_hwmon.c | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
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/hwmon/menf21bmc_hwmon.c')
-rw-r--r-- | drivers/hwmon/menf21bmc_hwmon.c | 1 |
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" |