From: Guenter Roeck Date: Thu, 9 Apr 2015 04:02:47 +0000 (-0700) Subject: hwmon: (ibmpowernv) Fix build error seen for some configurations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8416915c16d4335980c5d5d6d39957adbfe40b55;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git hwmon: (ibmpowernv) Fix build error seen for some configurations Fix drivers/hwmon/ibmpowernv.c: In function 'get_logical_cpu': drivers/hwmon/ibmpowernv.c:121:3: error: implicit declaration of function 'get_hard_smp_processor_id' seen for some configurations, possibly if SMP is not configured. Fixes: 3df2f59f0aae ("hwmon: (ibmpowernv) pretty print labels") Cc: Cédric Le Goater Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/ibmpowernv.c b/drivers/hwmon/ibmpowernv.c index 7108daf056b0..4255514b2c72 100644 --- a/drivers/hwmon/ibmpowernv.c +++ b/drivers/hwmon/ibmpowernv.c @@ -31,6 +31,7 @@ #include #include #include +#include #define MAX_ATTR_LEN 32 #define MAX_LABEL_LEN 64