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>
This commit is contained in:
parent
c49fa34e5b
commit
adf9bd3b23
@ -10,6 +10,7 @@
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/iomux.h>
|
||||
#include <asm/arch/mx6-pins.h>
|
||||
#include <asm/mach-imx/spi.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/mach-imx/mxc_i2c.h>
|
||||
|
Loading…
Reference in New Issue
Block a user