summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/simpad.c
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2011-08-18 21:53:57 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-10-17 09:12:41 +0100
commitf24dec9fdafadca53bf9db460da2cbbbfccdb584 (patch)
treef0895b019d633ba98bca4eb0830b2010ef5c0092 /arch/arm/mach-sa1100/simpad.c
parentb380ab4f85d641574d91b12b333848a0731a497c (diff)
downloadop-kernel-dev-f24dec9fdafadca53bf9db460da2cbbbfccdb584.zip
op-kernel-dev-f24dec9fdafadca53bf9db460da2cbbbfccdb584.tar.gz
ARM: 7027/1: simpad: Add ucb1x00 GPIO definitions and register GPIO
Add ucb1x00 GPIO definitions to simpad.h and add gpio_base to ucb1x00 platform device so the pins are available using the GPIO API. Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/simpad.c')
-rw-r--r--arch/arm/mach-sa1100/simpad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c
index cfb7607..718b802 100644
--- a/arch/arm/mach-sa1100/simpad.c
+++ b/arch/arm/mach-sa1100/simpad.c
@@ -132,6 +132,7 @@ static struct resource simpad_flash_resources [] = {
static struct mcp_plat_data simpad_mcp_data = {
.mccr0 = MCCR0_ADM,
.sclk_rate = 11981000,
+ .gpio_base = SIMPAD_UCB1X00_GPIO_BASE,
};
OpenPOWER on IntegriCloud