summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/include/mach/gpio.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-14 14:18:47 -0500
committerTom Rini <trini@konsulko.com>2018-12-14 14:18:47 -0500
commit8fc26fce41592175ae004514e431e68a9dd60671 (patch)
tree9d4f5d9b057a749742e9dcead3cfa41c4ddae5ea /arch/arm/mach-exynos/include/mach/gpio.h
parentd117d8f19b0625f88309e47a8a32c2faa384dddc (diff)
parentf987177db9c988142032ed8142a093cce2378a90 (diff)
Merge tag 'dm-pull-14dec18' of git://git.denx.de/u-boot-dm
Complete conversion of sound to driver model
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/gpio.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/gpio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/include/mach/gpio.h b/arch/arm/mach-exynos/include/mach/gpio.h
index 272e00bae8..f9975d7919 100644
--- a/arch/arm/mach-exynos/include/mach/gpio.h
+++ b/arch/arm/mach-exynos/include/mach/gpio.h
@@ -1397,7 +1397,7 @@ static struct gpio_info exynos5420_gpio_data[EXYNOS5420_GPIO_NUM_PARTS] = {
static inline struct gpio_info *get_gpio_data(void)
{
if (cpu_is_exynos5()) {
- if (proid_is_exynos5420() || proid_is_exynos5422())
+ if (proid_is_exynos542x())
return exynos5420_gpio_data;
else
return exynos5_gpio_data;
@@ -1414,7 +1414,7 @@ static inline struct gpio_info *get_gpio_data(void)
static inline unsigned int get_bank_num(void)
{
if (cpu_is_exynos5()) {
- if (proid_is_exynos5420() || proid_is_exynos5422())
+ if (proid_is_exynos542x())
return EXYNOS5420_GPIO_NUM_PARTS;
else
return EXYNOS5_GPIO_NUM_PARTS;