LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] KCONFIG: Replace remaining "depends" with "depends on".
@ 2007-04-26 18:44 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2007-04-26 18:44 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Andrew Morton, Paul Mackerras, Richard Purdie


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 <rpjday@mindspring.com>

---

  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
========================================================================

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-26 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26 18:44 [PATCH] KCONFIG: Replace remaining "depends" with "depends on" Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).