mx23_olinuxino: Add missing gpio header
PATCH 1/1 mx23_olinuxino: Add missing gpio header
Add missing gpio header in order to fix the following build warning:
mx23_olinuxino.c:50:2: warning: implicit declaration of function 'gpio_direction_output' [-Wimplicit-function-declaration]
--- board/olimex/mx23_olinuxino/mx23_olinuxino.c | 1 + 1 file changed, 1 insertion(+)
board/olimex/mx23_olinuxino/mx23_olinuxino.c +1 -0
@@ -28,6 +28,7 @@#include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <asm/gpio.h> #ifdef CONFIG_STATUS_LED #include <status_led.h> #endif
Signature · 1 line
1.7.9.5
PATCH 1/1 mx23_olinuxino: Add missing gpio header
Quoted 6 lines · Fabio Estevam
Add missing gpio header in order to fix the following build warning:
mx23_olinuxino.c:50:2: warning: implicit declaration of function '
gpio_direction_output' [-Wimplicit-function-declaration]Reported-by Stefano Babic <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
heh; we both did the same.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: otavio at ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
PATCH 1/1 mx23_olinuxino: Add missing gpio header
In reply to Fabio EstevamQuoted 7 lines · Fabio Estevam
Add missing gpio header in order to fix the following build warning:
mx23_olinuxino.c:50:2: warning: implicit declaration of function '
gpio_direction_output' [-Wimplicit-function-declaration]Reported-by Stefano Babic <[email protected]>Signed-off-by Fabio Estevam <[email protected]>---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================