]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6sabresd: Include <asm/mach-imx/spi.h> header file
authorDiego Dorta <diego.dorta@nxp.com>
Wed, 27 Sep 2017 16:12:38 +0000 (13:12 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 2 Oct 2017 17:31:32 +0000 (14:31 -0300)
commit23e7d7d1c62a2a47aa1bc483a7a43a309048617e
tree37a293ffc253b8955017a71fce2f9a43a1e8bef7
parent916afc51de3c062636bcd80db2f51b78166993a6
mx6sabresd: Include <asm/mach-imx/spi.h> header file

When compiling with W=1 the following warning is observed:

board/freescale/mx6sabresd/mx6sabresd.c:680:5: warning: no previous prototype for ‘board_spi_cs_gpio’ [-Wmissing-prototypes] int board_spi_cs_gpio(unsigned bus, unsigned cs)

Remove this warning by including <asm/mach-imx/spi.h>.

Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
(cherry picked from commit 3523215a455b719c59ef745c007577ad177846bf)
board/freescale/mx6sabresd/mx6sabresd.c