[PATCH linux dev-4.10] drivers: hwmon: occ: Fix Kconfig

Eddie James eajames at linux.vnet.ibm.com
Tue Jun 6 05:06:17 AEST 2017


From: "Edward A. James" <eajames at us.ibm.com>

The OCC hwmon driver was not buildable in-tree.

Signed-off-by: Edward A. James <eajames at us.ibm.com>
---
 drivers/hwmon/occ/Kconfig | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/occ/Kconfig b/drivers/hwmon/occ/Kconfig
index 34488de..d845174 100644
--- a/drivers/hwmon/occ/Kconfig
+++ b/drivers/hwmon/occ/Kconfig
@@ -2,7 +2,9 @@
 # On-Chip Controller configuration
 #
 
-menuconfig SENSORS_OCC
+menu "OCC"
+
+config SENSORS_OCC
 	tristate "POWER On-Chip Controller"
 	help
 	  If you say yes here you get support for monitoring the IBM POWER
@@ -15,10 +17,12 @@ if SENSORS_OCC
 
 config SENSORS_OCC_P9_SBE
 	bool "POWER9 OCC via SBE"
-	depends on SBEFIFO_OCC
+	depends on OCCFIFO
 	help
 	  If you say yes here you get support for monitoring the POWER9
 	  processor sensors via the OCC, from a service processor, over SBE
 	  engine on FSI bus.
 
 endif
+
+endmenu
-- 
1.8.3.1



More information about the openbmc mailing list