Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (occ) OCC sensors aren't arch-specific

Commit c112d75840fb ("hwmon: OCC drivers are ARM-only") made the OCC
sensor drivers not selectable on powerpc64:

These drivers are for a BMC inside PowerPC servers. The BMC runs on
ARM hardware, so only propose the drivers on this architecture, unless
build-testing.

... but we now have a powerpc64 BMC (still for a powerpc64 host), so
drop the `depends on` that excludes building for this platform.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Acked-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20221024081527.3842565-1-jk@codeconstruct.com.au
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Jeremy Kerr and committed by
Guenter Roeck
6d270868 694144b2

-2
-2
drivers/hwmon/occ/Kconfig
··· 6 6 config SENSORS_OCC_P8_I2C 7 7 tristate "POWER8 OCC through I2C" 8 8 depends on I2C 9 - depends on ARM || ARM64 || COMPILE_TEST 10 9 select SENSORS_OCC 11 10 help 12 11 This option enables support for monitoring sensors provided by the ··· 20 21 config SENSORS_OCC_P9_SBE 21 22 tristate "POWER9 OCC through SBE" 22 23 depends on FSI_OCC 23 - depends on ARM || ARM64 || COMPILE_TEST 24 24 select SENSORS_OCC 25 25 help 26 26 This option enables support for monitoring sensors provided by the