Skip to contentSkip to conversation

gpio: samsung: fix build error for EXYNOS5250

PATCH In review Jingoo Han 2 participants 3 messages Jun 4, 2012 GPIO

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/1 gpio: samsung: fix build error for EXYNOS5250

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 <[email protected]>
---
 drivers/gpio/gpio-samsung.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpio/gpio-samsung.c +1 -1
index 7bb0044..b6453d0 100644
@@ -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];
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Jingoo Han

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 <[email protected]>

Yours,
Linus Walleij

author
#2 lore raw
Quoted 11 lines · Linus Walleij
Quoted 8 lines · Jingoo Han

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.)

Quoted 4 lines
Quoted 2 lines
Cc Thomas Abraham <[email protected]>

Hi Linus Walleij,

This patch is superfluous, for another patch is merged to linux 'master' branch by Linus Torvalds as below. commit 5041caa "gpio/samsung: fix the typo 'exynos5_xxx' instead of 'exonys5_xxx'" by Kukjin Kim. Thank you.

Best regards,
Jingoo Han

Quoted 3 lines

Yours,
Linus Walleij