[PATCH v2 2/2] hwmon: OCC drivers are ARM-only

2019-04-10 Thread Jean Delvare
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 
Cc: Eddie James 
Cc: Guenter Roeck 
---
If PowerPC BMCs are ever based on another architecture and these drivers
are compatible with them, then the list can be extended.

 drivers/hwmon/occ/Kconfig |2 ++
 1 file changed, 2 insertions(+)

--- linux-5.0.orig/drivers/hwmon/occ/Kconfig2019-04-10 11:54:07.014895111 
+0200
+++ linux-5.0/drivers/hwmon/occ/Kconfig 2019-04-10 12:12:27.379725640 +0200
@@ -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

-- 
Jean Delvare
SUSE L3 Support


Re: [PATCH v2 2/2] hwmon: OCC drivers are ARM-only

2019-04-10 Thread Eddie James



On 4/10/19 5:56 AM, Jean Delvare wrote:

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.



Thanks!

Reviewed-by: Eddie James 




Signed-off-by: Jean Delvare 
Cc: Eddie James 
Cc: Guenter Roeck 
---
If PowerPC BMCs are ever based on another architecture and these drivers
are compatible with them, then the list can be extended.

  drivers/hwmon/occ/Kconfig |2 ++
  1 file changed, 2 insertions(+)

--- linux-5.0.orig/drivers/hwmon/occ/Kconfig2019-04-10 11:54:07.014895111 
+0200
+++ linux-5.0/drivers/hwmon/occ/Kconfig 2019-04-10 12:12:27.379725640 +0200
@@ -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