diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2014-09-30 22:40:03 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-21 08:47:14 (GMT) |
commit | 3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b (patch) | |
tree | 44d4b90df1b03750654c6bd97778ff2cddda143c /drivers/spi/mxc_spi.c | |
parent | f6d48b29cbf5950187e42cb3c108ea5d9c7adaa9 (diff) | |
download | u-boot-fsl-qoriq-3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b.tar.xz |
ARM: i.MX: provide declaration for board_spi_cs_gpio
Provide a public declaration of the board_spi_cs_gpio()
callback for i.MX SPI chip selects to prevent the warning
"Should it be static?" when compiling with "make C=1".
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'drivers/spi/mxc_spi.c')
-rw-r--r-- | drivers/spi/mxc_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 026f680..be10269 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi.c @@ -12,6 +12,7 @@ #include <asm/gpio.h> #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> +#include <asm/imx-common/spi.h> #ifdef CONFIG_MX27 /* i.MX27 has a completely wrong register layout and register definitions in the |