mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] gpio: samsung: fix build error for EXYNOS5250
@ 2012-06-04  2:17 Jingoo Han
  2012-06-04 17:10 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Jingoo Han @ 2012-06-04  2:17 UTC (permalink / raw)
  To: 'Grant Likely', 'Linus Walleij'
  Cc: 'Thomas Abraham', 'Jingoo Han', 'LKML'

Fixed a typo from "exonys5_gpios_1" to "exonys5_gpios_1"
in order to fix build error as below:

drivers/gpio/gpio-samsung.c: In function 'exynos5_gpiolib_init':
drivers/gpio/gpio-samsung.c:2836: error: 'exonys5_gpios_1' undeclared (first use in this function)
drivers/gpio/gpio-samsung.c:2836: error: (Each undeclared identifier is reported only once
drivers/gpio/gpio-samsung.c:2836: error: for each function it appears in.)

Cc: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/gpio/gpio-samsung.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
index 7bb0044..b6453d0 100644
--- a/drivers/gpio/gpio-samsung.c
+++ b/drivers/gpio/gpio-samsung.c
@@ -2833,7 +2833,7 @@ static __init void exynos5_gpiolib_init(void)
 	}
 
 	/* need to set base address for gpc4 */
-	exonys5_gpios_1[11].base = gpio_base1 + 0x2E0;
+	exynos5_gpios_1[11].base = gpio_base1 + 0x2E0;
 
 	/* need to set base address for gpx */
 	chip = &exynos5_gpios_1[21];
-- 
1.7.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-04 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04  2:17 [PATCH] gpio: samsung: fix build error for EXYNOS5250 Jingoo Han
2012-06-04 17:10 ` Linus Walleij
2012-06-04 23:11   ` Jingoo Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®