summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorPeng Du <pdu@nvidia.com>2013-02-04 10:24:05 -0800
committerTom Cherry <tcherry@nvidia.com>2014-01-21 15:13:48 -0800
commita17aa60674a06023acaa92eb06cd89fecbeda987 (patch)
tree7736826ff83d3c4917877a589de23cd021b53251 /drivers/gpio
parent24be5bb51facf627a921c83cceff612dd802ef3f (diff)
drivers: gpio: fix gpio-tegra for arm64
Bug 1237374 Change-Id: Id328c81193eb0e2d44123cd45c8de7ce400e95b3 Signed-off-by: Peng Du <pdu@nvidia.com> Reviewed-on: http://git-master/r/200298 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 95f36695fba9..e5a7fe6f0ea8 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -76,6 +76,9 @@ obj-$(CONFIG_GPIO_STP_XWAY) += gpio-stp-xway.o
obj-$(CONFIG_GPIO_SX150X) += gpio-sx150x.o
obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o
CFLAGS_gpio-tegra.o = -Werror
+ifeq ($(CONFIG_ARM64),y)
+CFLAGS_gpio-tegra.o += -Iarch/arm/mach-tegra/include
+endif
obj-$(CONFIG_ARCH_TEGRA) += gpio-tegra.o
obj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o
obj-$(CONFIG_ARCH_DAVINCI_TNETV107X) += gpio-tnetv107x.o