From: Johannes Thumshirn Date: Thu, 16 Oct 2014 13:07:51 +0000 (+0200) Subject: hwmon: (menf21bmc) Include linux/err.h X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=3d5960472de0a245c56ba55e9a59b8d0f4c69cb4;p=deliverable%2Flinux.git 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 Signed-off-by: Guenter Roeck --- 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 #include #include +#include #define DRV_NAME "menf21bmc_hwmon"