[PATCH] KCONFIG: Replace remaining "depends" with "depends on".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Replace the few remaining instances of "depends" in the Kconfig files
with the new standard of "depends on".

Signed-off-by: Robert P. J. Day <[email protected]>

---

  for what i hope is the *very* *last* *time*, replace the deprecated
"depends" (and, for the sake of historical completeness, "requires")
Kconfig directives with the consensus of "depends on".  to be frank,
it's getting increasingly annoying to run my aesthetics script and
watch as old instances of this get deleted, only to be replaced with
new instances.

  once this patch goes in, i would be happy to go into the Kconfig
parser and rip out the %#$^%&#%$^ code that recognizes anything except
"depends on".

 arch/powerpc/Kconfig       |    2 +-
 arch/powerpc/Kconfig.debug |    2 +-
 drivers/leds/Kconfig       |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 6dfbd52..54a7fd0 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -622,7 +622,7 @@ config RTAS_FLASH

 config PPC_PMI
 	tristate "Support for PMI"
-	depends PPC_IBM_CELL_BLADE
+	depends on PPC_IBM_CELL_BLADE
 	help
 	  PMI (Platform Management Interrupt) is a way to
 	  communicate with the BMC (Baseboard Mangement Controller).
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug
index d39d133..5c11b47 100644
--- a/arch/powerpc/Kconfig.debug
+++ b/arch/powerpc/Kconfig.debug
@@ -125,7 +125,7 @@ config BDI_SWITCH

 config BOOTX_TEXT
 	bool "Support for early boot text console (BootX or OpenFirmware only)"
-	depends PPC_OF
+	depends on PPC_OF
 	help
 	  Say Y here to see progress messages from the boot firmware in text
 	  mode. Requires either BootX or Open Firmware.
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 80acd08..069b57d 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -84,7 +84,7 @@ config LEDS_WRAP

 config LEDS_H1940
 	tristate "LED Support for iPAQ H1940 device"
-	depends LEDS_CLASS && ARCH_H1940
+	depends on LEDS_CLASS && ARCH_H1940
 	help
 	  This option enables support for the LEDs on the h1940.

 --
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux