Skip to contentSkip to conversation

Enable CONFIG_GPIO_TWL4030=y

PATCH In review Sanjeev Premi 2 participants 2 messages Oct 10, 2008 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable CONFIG_GPIO_TWL4030=y

Without this option, kernel builds would fail, with errors similar to:

hsmmc.c:50: undefined reference to twl4030_get_gpio_datain' hsmmc.c:82: undefined reference to twl4030_free_gpio' hsmmc.c:63: undefined reference to twl4030_request_gpio' hsmmc.c:67: undefined reference to twl4030_set_gpio_debounce'

---
 arch/arm/configs/omap2_evm_defconfig    |    1 +
 arch/arm/configs/omap3_beagle_defconfig |    1 +
 arch/arm/configs/omap3_evm_defconfig    |    1 +
 arch/arm/configs/omap_3430sdp_defconfig |    1 +
 arch/arm/configs/omap_ldp_defconfig     |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/configs/omap2_evm_defconfig +1 -0
index 61f0965..b52426a 100644
@@ -795,6 +795,7 @@ CONFIG_GPIOLIB=y
 # CONFIG_GPIO_MAX732X is not set
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # PCI GPIO expanders:
arch/arm/configs/omap3_beagle_defconfig +1 -0
index 7805995..0d2f770 100644
@@ -709,6 +709,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
arch/arm/configs/omap3_evm_defconfig +1 -0
index ebeaef3..507a689 100644
@@ -779,6 +779,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
arch/arm/configs/omap_3430sdp_defconfig +1 -0
index 11c0cf7..bd6006c 100644
@@ -790,6 +790,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
arch/arm/configs/omap_ldp_defconfig +1 -0
index 9a90975..fd34367 100644
@@ -549,6 +549,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
Signature · 1 line
1.5.6
#1 lore raw
Quoted 7 lines · ext Sanjeev Premi

Without this option, kernel builds would fail, with errors similar to:

hsmmc.c:50: undefined reference to twl4030_get_gpio_datain' hsmmc.c:82: undefined reference to twl4030_free_gpio' hsmmc.c:63: undefined reference to twl4030_request_gpio' hsmmc.c:67: undefined reference to twl4030_set_gpio_debounce'

Can you 2430sdp defconfig.

Quoted 77 lines
---
 arch/arm/configs/omap2_evm_defconfig    |    1 +
 arch/arm/configs/omap3_beagle_defconfig |    1 +
 arch/arm/configs/omap3_evm_defconfig    |    1 +
 arch/arm/configs/omap_3430sdp_defconfig |    1 +
 arch/arm/configs/omap_ldp_defconfig     |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/configs/omap2_evm_defconfig +1 -0
index 61f0965..b52426a 100644
@@ -795,6 +795,7 @@ CONFIG_GPIOLIB=y
 # CONFIG_GPIO_MAX732X is not set
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # PCI GPIO expanders:
arch/arm/configs/omap3_beagle_defconfig +1 -0
index 7805995..0d2f770 100644
@@ -709,6 +709,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
arch/arm/configs/omap3_evm_defconfig +1 -0
index ebeaef3..507a689 100644
@@ -779,6 +779,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
arch/arm/configs/omap_3430sdp_defconfig +1 -0
index 11c0cf7..bd6006c 100644
@@ -790,6 +790,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
arch/arm/configs/omap_ldp_defconfig +1 -0
index 9a90975..fd34367 100644
@@ -549,6 +549,7 @@ CONFIG_HAVE_GPIO_LIB=y
 #
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # SPI GPIO expanders:
Signature · 6 lines
1.5.6

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 1 line
balbi