summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorDiego Dorta <diego.dorta@nxp.com>2017-09-27 13:12:38 -0300
committerStefano Babic <sbabic@denx.de>2017-10-12 17:31:16 +0200
commitadf9bd3b23667e4fc1abd8810222ca9823ef7732 (patch)
treee0cf52f5a1109b663102a487b8caef47749a6d50 /board/freescale
parentc49fa34e5bbc6943d385e74d4fb9ea7e5afecf10 (diff)
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>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx6sabresd/mx6sabresd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index 6cc228ab46..15268f8062 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -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>