diff options
author | Fabio Estevam <festevam@gmail.com> | 2011-08-29 04:27:06 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-12 17:40:47 +0200 |
commit | c2205f4db06ce7a104bfe77f01e780e73fd721d3 (patch) | |
tree | 6f6489919595b0cc643f143b9abb2a2c627d8849 /board/karo/tx25/tx25.c | |
parent | 8c4e0ca69e09e05c2857f49b233df7ac38451fef (diff) | |
download | u-boot-imx-c2205f4db06ce7a104bfe77f01e780e73fd721d3.zip u-boot-imx-c2205f4db06ce7a104bfe77f01e780e73fd721d3.tar.gz u-boot-imx-c2205f4db06ce7a104bfe77f01e780e73fd721d3.tar.bz2 |
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 <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/karo/tx25/tx25.c')
-rw-r--r-- | board/karo/tx25/tx25.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c index 25b99e8..ce75468 100644 --- a/board/karo/tx25/tx25.c +++ b/board/karo/tx25/tx25.c @@ -28,6 +28,7 @@ #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/imx25-pinmux.h> +#include <asm/gpio.h> static void mdelay(int n) { |