2011-06-30 21:48:41

by Bjarke Istrup Pedersen

[permalink] [raw]
Subject: [PATCH 0/2] Depends-on-CONFIG_MFD_CS5535 patchset

From: Bjarke Istrup Pedersen <[email protected]>

Since 2.6.39 when CONFIG_MFD_CS5535, LEDS_NET5501 and GEODE_WDT stopped
working.

These two patches fixes this by forcing CONFIG_MFD_CS5535 to be enabled,
before they can be enabled.

Bjarke Istrup Pedersen (2):
Making sure LEDS_NET5501 depends on CONFIG_MFD_CS5535
Making sure GEODE_WDT depends on CONFIG_MFD_CS5535

drivers/leds/Kconfig | 2 +-
drivers/watchdog/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--
1.7.6


2011-06-30 21:48:43

by Bjarke Istrup Pedersen

[permalink] [raw]
Subject: [PATCH 1/2] Making sure LEDS_NET5501 depends on CONFIG_MFD_CS5535

From: Bjarke Istrup Pedersen <[email protected]>

Fixes dependency problem for LEDS_NET5501.

Signed-off-by: Bjarke Istrup Pedersen <[email protected]>
---
drivers/leds/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 713d43b..4ea885a 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -92,7 +92,7 @@ config LEDS_NET48XX
config LEDS_NET5501
tristate "LED Support for Soekris net5501 series Error LED"
depends on LEDS_TRIGGERS
- depends on X86 && LEDS_GPIO_PLATFORM && GPIO_CS5535
+ depends on X86 && LEDS_GPIO_PLATFORM && GPIO_CS5535 && CONFIG_MFD_CS5535
select LEDS_TRIGGER_DEFAULT_ON
default n
help
--
1.7.6

2011-06-30 21:48:56

by Bjarke Istrup Pedersen

[permalink] [raw]
Subject: [PATCH 2/2] Making sure GEODE_WDT depends on CONFIG_MFD_CS5535

From: Bjarke Istrup Pedersen <[email protected]>

Fixes dependency problem for GEODE_WDT.

Signed-off-by: Bjarke Istrup Pedersen <[email protected]>
---
drivers/watchdog/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 9536d38..b9f2c66 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -432,7 +432,7 @@ config SP5100_TCO

config GEODE_WDT
tristate "AMD Geode CS5535/CS5536 Watchdog"
- depends on CS5535_MFGPT
+ depends on CS5535_MFGPT && CONFIG_MFD_CS5535
help
This driver enables a watchdog capability built into the
CS5535/CS5536 companion chips for the AMD Geode GX and LX
--
1.7.6