From: Johannes Thumshirn Date: Thu, 16 Oct 2014 13:07:51 +0000 (+0200) Subject: hwmon: (menf21bmc) Include linux/err.h X-Git-Tag: v3.18-rc2~14^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3d5960472de0a245c56ba55e9a59b8d0f4c69cb4;p=users%2Fjedix%2Flinux-maple.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"