aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2019-04-10 12:56:35 +0200
committerGuenter Roeck <[email protected]>2019-04-15 17:19:53 -0700
commitc112d75840fb23e481f3d0db5c8e830391664078 (patch)
tree8511fbb57566932f01030acc53d1162f85c3f806
parent5679ed99065372bc62c57a895950914e1c0fb9e0 (diff)
hwmon: OCC drivers are ARM-only
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 <[email protected]> Cc: Eddie James <[email protected]> Cc: Guenter Roeck <[email protected]> Reviewed-by: Eddie James <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
-rw-r--r--drivers/hwmon/occ/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/occ/Kconfig b/drivers/hwmon/occ/Kconfig
index 9373945f6dc4..2a3869f15026 100644
--- a/drivers/hwmon/occ/Kconfig
+++ b/drivers/hwmon/occ/Kconfig
@@ -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