diff mbox

[U-Boot] fdt: Include arch specific gpio.h

Message ID 1340954882-21515-1-git-send-email-monstr@monstr.eu
State Superseded
Delegated to: Jerry Van Baren
Headers show

Commit Message

Michal Simek June 29, 2012, 7:28 a.m. UTC
Also include arch specific gpio.h which can contain
gpio function implementation.

Signed-off-by: Michal Simek <monstr@monstr.eu>
CC: Simon Glass <sjg@chromium.org>
---
 lib/fdtdec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index cc09e06..b12eb77 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -25,6 +25,7 @@ 
 #include <fdtdec.h>
 
 /* we need the generic GPIO interface here */
+#include <asm/gpio.h>
 #include <asm-generic/gpio.h>
 
 DECLARE_GLOBAL_DATA_PTR;