summaryrefslogtreecommitdiff
path: root/board/samsung/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-20 19:48:37 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:18 -0600
commit903fd79564a2b8874fa2e09fd6a04b7cb99690da (patch)
treeaa2c2c5c4ddd27752cc0e8ad0b3a0599add8f25c /board/samsung/common
parent084067ce13b5665c8ee8eb1277447d67bc5210c8 (diff)
downloadu-boot-imx-903fd79564a2b8874fa2e09fd6a04b7cb99690da.zip
u-boot-imx-903fd79564a2b8874fa2e09fd6a04b7cb99690da.tar.gz
u-boot-imx-903fd79564a2b8874fa2e09fd6a04b7cb99690da.tar.bz2
dm: exynos: Tidy up GPIO headers
The wrong header is being included, thus requiring the code to re-declare the generic GPIO interface in each GPIO header. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/samsung/common')
-rw-r--r--board/samsung/common/board.c2
-rw-r--r--board/samsung/common/misc.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 5c3c5bb..c119641 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -13,10 +13,10 @@
#include <tmu.h>
#include <netdev.h>
#include <asm/io.h>
+#include <asm/gpio.h>
#include <asm/arch/board.h>
#include <asm/arch/cpu.h>
#include <asm/arch/dwmmc.h>
-#include <asm/arch/gpio.h>
#include <asm/arch/mmc.h>
#include <asm/arch/pinmux.h>
#include <asm/arch/power.h>
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 8766f0c..b935922 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -14,7 +14,6 @@
#include <malloc.h>
#include <linux/sizes.h>
#include <asm/arch/cpu.h>
-#include <asm/arch/gpio.h>
#include <asm/gpio.h>
#include <linux/input.h>
#include <power/pmic.h>