summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-03-07 07:32:53 +0000
committerStefano Babic <sbabic@denx.de>2013-03-07 18:29:20 +0100
commit7315e3bf2cc95abf9ae53f43ccbd31c6f638aacd (patch)
treedd3e6df97a38c775758fdbdb3ebab8cb24ff1ab9 /board
parent8f3937761bf260e71e7c199cf6547535ae7e90b9 (diff)
mx23_olinuxino: Fix warning for implicit declaration
Fixes a build warning of implicit declaration of gpio_direction_output, as bellow: ,---- | mx23_olinuxino.c: In function 'board_early_init_f': | mx23_olinuxino.c:51:2: warning: implicit declaration | of function 'gpio_direction_output' | [-Wimplicit-function-declaration] `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board')
-rw-r--r--board/olimex/mx23_olinuxino/mx23_olinuxino.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/olimex/mx23_olinuxino/mx23_olinuxino.c b/board/olimex/mx23_olinuxino/mx23_olinuxino.c
index 92527177ca..9ed7718152 100644
--- a/board/olimex/mx23_olinuxino/mx23_olinuxino.c
+++ b/board/olimex/mx23_olinuxino/mx23_olinuxino.c
@@ -23,6 +23,7 @@
*/
#include <common.h>
+#include <asm/gpio.h>
#include <asm/io.h>
#include <asm/arch/iomux-mx23.h>
#include <asm/arch/imx-regs.h>