diff options
Diffstat (limited to 'drivers/gpio/gpio-samsung.c')
-rw-r--r-- | drivers/gpio/gpio-samsung.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c index 421f6af0f995..7bb00448e13d 100644 --- a/drivers/gpio/gpio-samsung.c +++ b/drivers/gpio/gpio-samsung.c | |||
@@ -2454,6 +2454,12 @@ static struct samsung_gpio_chip exynos5_gpios_1[] = { | |||
2454 | }, | 2454 | }, |
2455 | }, { | 2455 | }, { |
2456 | .chip = { | 2456 | .chip = { |
2457 | .base = EXYNOS5_GPC4(0), | ||
2458 | .ngpio = EXYNOS5_GPIO_C4_NR, | ||
2459 | .label = "GPC4", | ||
2460 | }, | ||
2461 | }, { | ||
2462 | .chip = { | ||
2457 | .base = EXYNOS5_GPD0(0), | 2463 | .base = EXYNOS5_GPD0(0), |
2458 | .ngpio = EXYNOS5_GPIO_D0_NR, | 2464 | .ngpio = EXYNOS5_GPIO_D0_NR, |
2459 | .label = "GPD0", | 2465 | .label = "GPD0", |
@@ -2826,8 +2832,11 @@ static __init void exynos5_gpiolib_init(void) | |||
2826 | goto err_ioremap1; | 2832 | goto err_ioremap1; |
2827 | } | 2833 | } |
2828 | 2834 | ||
2835 | /* need to set base address for gpc4 */ | ||
2836 | exonys5_gpios_1[11].base = gpio_base1 + 0x2E0; | ||
2837 | |||
2829 | /* need to set base address for gpx */ | 2838 | /* need to set base address for gpx */ |
2830 | chip = &exynos5_gpios_1[20]; | 2839 | chip = &exynos5_gpios_1[21]; |
2831 | gpx_base = gpio_base1 + 0xC00; | 2840 | gpx_base = gpio_base1 + 0xC00; |
2832 | for (i = 0; i < 4; i++, chip++, gpx_base += 0x20) | 2841 | for (i = 0; i < 4; i++, chip++, gpx_base += 0x20) |
2833 | chip->base = gpx_base; | 2842 | chip->base = gpx_base; |