All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] EXYNOS5: GPIO: fix wrong gpio bank offset
@ 2012-06-20  7:59 Jaehoon Chung
  0 siblings, 0 replies; only message in thread
From: Jaehoon Chung @ 2012-06-20  7:59 UTC (permalink / raw)
  To: u-boot

res1[] size is wrong.
It didn't consider the s5p_gpio_bank size.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/include/asm/arch-exynos/gpio.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h
index 7a9bb90..9f22b5c 100644
--- a/arch/arm/include/asm/arch-exynos/gpio.h
+++ b/arch/arm/include/asm/arch-exynos/gpio.h
@@ -100,7 +100,7 @@ struct exynos5_gpio_part1 {
 	struct s5p_gpio_bank y4;
 	struct s5p_gpio_bank y5;
 	struct s5p_gpio_bank y6;
-	struct s5p_gpio_bank res1[0x980];
+	struct s5p_gpio_bank res1[76];
 	struct s5p_gpio_bank x0;
 	struct s5p_gpio_bank x1;
 	struct s5p_gpio_bank x2;
@@ -124,7 +124,7 @@ struct exynos5_gpio_part3 {
 	struct s5p_gpio_bank v1;
 	struct s5p_gpio_bank v2;
 	struct s5p_gpio_bank v3;
-	struct s5p_gpio_bank res1[0x20];
+	struct s5p_gpio_bank res1[2];
 	struct s5p_gpio_bank v4;
 };
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-20  7:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20  7:59 [U-Boot] [PATCH] EXYNOS5: GPIO: fix wrong gpio bank offset Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.