]> git.baikalelectronics.ru Git - uboot.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)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 15:31:16 +0000 (17:31 +0200)
commit9d02b87a10b8c613781b3a90b903986b391a5ca5
treee0cf52f5a1109b663102a487b8caef47749a6d50
parent2544c76db0c71473cc9eb2dc665ddb74883a17a0
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>
board/freescale/mx6sabresd/mx6sabresd.c