Skip to contentSkip to conversation

ar7: implement gpiolib

PATCH In review Florian Fainelli 2 participants 2 messages Jan 3, 2010 – Jan 26, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 ar7: implement gpiolib

This patch implements gpiolib for the AR7 SoC.

---

arch/mips/Kconfig +1 -1
index 9541171..bd80252 100644
@@ -41,7 +41,7 @@ config AR7
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_LITTLE_ENDIAN
 	select SYS_SUPPORTS_ZBOOT_UART16550
-	select GENERIC_GPIO
+	select ARCH_REQUIRE_GPIOLIB
 	select GCD
 	select VLYNQ
 	help
arch/mips/ar7/gpio.c +98 -15

135 lines not on this page · raw message

arch/mips/ar7/platform.c +1 -0
index 85169c0..acbe147 100644
@@ -34,6 +34,7 @@
 #include <linux/etherdevice.h>
 #include <linux/phy.h>
 #include <linux/phy_fixed.h>
+#include <linux/gpio.h>
 
 #include <asm/addrspace.h>
 #include <asm/mach-ar7/ar7.h>
arch/mips/include/asm/mach-ar7/gpio.h +8 -78

101 lines not on this page · raw message

#1 lore raw
Quoted 1 line · Florian Fainelli

This patch implements gpiolib for the AR7 SoC.

Thanks, queued for 2.6.34.

Ralf