From c2205f4db06ce7a104bfe77f01e780e73fd721d3 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 29 Aug 2011 04:27:06 +0000 Subject: MX25: tx25: Fix build by making use of GPIO framework Make use of GPIO framework and avoid the following build error: tx25.c: In function 'tx25_fec_init': tx25.c:73: error: dereferencing pointer to incomplete type tx25.c:74: error: dereferencing pointer to incomplete type tx25.c:75: error: dereferencing pointer to incomplete type tx25.c:76: error: dereferencing pointer to incomplete type tx25.c:83: error: dereferencing pointer to incomplete type tx25.c:84: error: dereferencing pointer to incomplete type tx25.c:114: error: dereferencing pointer to incomplete type tx25.c:115: error: dereferencing pointer to incomplete type tx25.c:116: error: dereferencing pointer to incomplete type tx25.c:117: error: dereferencing pointer to incomplete type tx25.c:124: error: dereferencing pointer to incomplete type tx25.c:125: error: dereferencing pointer to incomplete type tx25.c:126: error: dereferencing pointer to incomplete type Signed-off-by: Fabio Estevam Acked-by: Stefano Babic --- board/karo/tx25/tx25.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/karo') diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c index 25b99e81b2..ce75468e38 100644 --- a/board/karo/tx25/tx25.c +++ b/board/karo/tx25/tx25.c @@ -28,6 +28,7 @@ #include #include #include +#include static void mdelay(int n) { -- cgit v1.2.1