gpio: samsung: fix build error for EXYNOS5250
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.)
--- drivers/gpio/gpio-samsung.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpio/gpio-samsung.c +1 -1
@@ -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
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 oncedrivers/gpio/gpio-samsung.c:2836: error: for each function it appears in.)Cc Thomas Abraham <[email protected]>Signed-off-by Jingoo Han <[email protected]>
Yours,
Linus Walleij
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 oncedrivers/gpio/gpio-samsung.c:2836: error: for each function it appears in.)
Quoted 4 lines
Quoted 2 lines
Cc Thomas Abraham <[email protected]>Signed-off-by Jingoo Han <[email protected]>Acked-by Linus Walleij <[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