[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703040624310.16583@CPE00045a9c397f-CM001225dbafb6>
Date: Sun, 4 Mar 2007 06:28:53 -0500 (EST)
From: "Robert P. J. Day" <rpjday@...dspring.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
cc: Roman Zippel <zippel@...ux-m68k.org>
Subject: [PATCH] Kconfig: Replace obsolete "depends" with "depends on".
Replace the obsolete variant "depends" with the standardized form
"depends on" in Kconfig files.
Signed-off-by: Robert P. J. Day <rpjday@...dspring.com>
---
given that "depends on" was accepted as the standard Kconfig
directive over "depends" and "requires", could we:
1) please stop using "depends", and
2) modify the actual parser to not accept anything *other* than
"depends on"
after all, there's no point in having applied all that
standardization if we just let the old form back into the tree.
arch/powerpc/Kconfig | 2 +-
drivers/leds/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 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/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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists