Browse Source

firmware: google memconsole: Remove useless submenu in Kconfig

This patch removes the "Google Firmware Drivers" menu containing a
menuconfig entry with the exact same name. The menuconfig is now
directly under the "Firmware Drivers" entry.

Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thierry Escande 8 years ago
parent
commit
f952a401ac
1 changed files with 3 additions and 4 deletions
  1. 3 4
      drivers/firmware/google/Kconfig

+ 3 - 4
drivers/firmware/google/Kconfig

@@ -1,4 +1,4 @@
-config GOOGLE_FIRMWARE
+menuconfig GOOGLE_FIRMWARE
 	bool "Google Firmware Drivers"
 	bool "Google Firmware Drivers"
 	depends on X86
 	depends on X86
 	default n
 	default n
@@ -7,8 +7,7 @@ config GOOGLE_FIRMWARE
 	  only useful if you are working directly on one of their
 	  only useful if you are working directly on one of their
 	  proprietary servers.  If in doubt, say "N".
 	  proprietary servers.  If in doubt, say "N".
 
 
-menu "Google Firmware Drivers"
-	depends on GOOGLE_FIRMWARE
+if GOOGLE_FIRMWARE
 
 
 config GOOGLE_SMI
 config GOOGLE_SMI
 	tristate "SMI interface for Google platforms"
 	tristate "SMI interface for Google platforms"
@@ -28,4 +27,4 @@ config GOOGLE_MEMCONSOLE
 	  the EBDA on Google servers.  If found, this log is exported to
 	  the EBDA on Google servers.  If found, this log is exported to
 	  userland in the file /sys/firmware/log.
 	  userland in the file /sys/firmware/log.
 
 
-endmenu
+endif # GOOGLE_FIRMWARE