]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (ibmpowernv) Fix build error seen for some configurations
authorGuenter Roeck <linux@roeck-us.net>
Thu, 9 Apr 2015 04:02:47 +0000 (21:02 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 9 Apr 2015 04:03:39 +0000 (21:03 -0700)
commit8416915c16d4335980c5d5d6d39957adbfe40b55
treedb23df730f4e178e4dc0f000491868d433056ad2
parente76ea26142821894bf78b0b311c8f7aceff0aa9b
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 <clg@fr.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ibmpowernv.c