mx23_olinuxino: Fix warning for implicit declaration
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 7 Mar 2013 07:32:53 +0000 (07:32 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Mar 2013 17:29:20 +0000 (18:29 +0100)
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>
board/olimex/mx23_olinuxino/mx23_olinuxino.c

index 92527177ca44d2b9cd37066861ff2ceccc72781d..9ed77181521b446fd39848c75696b80513d8a74e 100644 (file)
@@ -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>