mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 05:01:30 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue