summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/generic.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2011-09-16 17:37:50 +0200
committerJean-Christophe PLAGNIOL-VILLARD2011-11-28 15:50:37 +0100
commit80e91cb8023fbc07b2410c4ce5a2da12fbcebca4 (patch)
treec83ecd72567662ee3e59e35751c52b0f2293aa47 /arch/arm/mach-at91/generic.h
parentARM: at91: define CLOCK_TICK_RATE to bogus value except A91X40 (diff)
downloadkernel-qcow2-linux-80e91cb8023fbc07b2410c4ce5a2da12fbcebca4.tar.gz
kernel-qcow2-linux-80e91cb8023fbc07b2410c4ce5a2da12fbcebca4.tar.xz
kernel-qcow2-linux-80e91cb8023fbc07b2410c4ce5a2da12fbcebca4.zip
ARM: at91: make gpio register base soc independant
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Reviewed-by: Ryan Mallon <rmallon@gmail.com>
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
-rw-r--r--arch/arm/mach-at91/generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h
index 938b34f57741..11d7297eee22 100644
--- a/arch/arm/mach-at91/generic.h
+++ b/arch/arm/mach-at91/generic.h
@@ -65,7 +65,7 @@ extern void at91sam9_alt_reset(void);
struct at91_gpio_bank {
unsigned short id; /* peripheral ID */
- unsigned long offset; /* offset from system peripheral base */
+ unsigned long regbase; /* offset from system peripheral base */
struct clk *clock; /* associated clock */
};
extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks);