Skip to contentSkip to conversation

gpio-cs5535: Simplify dependencies

PATCH In review Jean Delvare 1 participant 2 messages Mar 7, 2014 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio-cs5535: Simplify dependencies

The architecture dependencies are already on MFD_CS5535, so there is no need to repeat them here.

Cc Linus Walleij <[email protected]>
Cc Alexandre Courbot <[email protected]>
---
 drivers/gpio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -631,7 +631,7 @@ comment "PCI GPIO expanders:"
 
 config GPIO_CS5535
 	tristate "AMD CS5535/CS5536 GPIO support"
-	depends on PCI && X86 && MFD_CS5535
+	depends on PCI && MFD_CS5535
 	help
 	  The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
 	  can be used for quite a number of things.  The CS5535/6 is found on
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 14 lines · Jean Delvare

The architecture dependencies are already on MFD_CS5535, so there is no need to repeat them here.

Cc Linus Walleij <[email protected]>
Cc Alexandre Courbot <[email protected]>
---
 drivers/gpio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/gpio/Kconfig comment "PCI GPIO expanders:" · line 637

Quoted 8 lines
drivers/gpio/Kconfig +1 -1
@@ -631,7 +631,7 @@ comment "PCI GPIO expanders:"
 
 config GPIO_CS5535
 	tristate "AMD CS5535/CS5536 GPIO support"
-	depends on PCI && X86 && MFD_CS5535
+	depends on PCI && MFD_CS5535
 	help
 	  The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
 	  can be used for quite a number of things.  The CS5535/6 is found on

Hmm, just occurred to me that the PCI dependency could go as well. I'll send an updated patch, sorry for the noise.

Signature · 2 lines
Jean Delvare
SUSE L3 Support