hwmon: OCC drivers are ARM-only
authorJean Delvare <jdelvare@suse.de>
Wed, 10 Apr 2019 10:56:35 +0000 (12:56 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
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.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Eddie James <eajames@linux.ibm.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/occ/Kconfig

index 9373945..2a3869f 100644 (file)
@@ -5,6 +5,7 @@
 config SENSORS_OCC_P8_I2C
        tristate "POWER8 OCC through I2C"
        depends on I2C
+       depends on ARM || ARM64 || COMPILE_TEST
        select SENSORS_OCC
        help
         This option enables support for monitoring sensors provided by the
@@ -17,6 +18,7 @@ config SENSORS_OCC_P8_I2C
 config SENSORS_OCC_P9_SBE
        tristate "POWER9 OCC through SBE"
        depends on FSI_OCC
+       depends on ARM || ARM64 || COMPILE_TEST
        select SENSORS_OCC
        help
         This option enables support for monitoring sensors provided by the