From: Jagan Teki Date: Fri, 26 Jun 2015 19:21:37 +0000 (+0530) Subject: spi: xilinx_spi: Add asm/io.h include file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5f24d123c868c8f2900c7c3f8aa7efc5e6ccc6be;p=project%2Fbcm63xx%2Fu-boot.git spi: xilinx_spi: Add asm/io.h include file This patch includes asm/io.h for readl and writel calls. build errors: drivers/spi/xilinx_spi.c: In function 'xilinx_spi_probe': drivers/spi/xilinx_spi.c:119:2: warning: implicit declaration of function 'writel' [-Wimplicit-function-declaration] drivers/spi/xilinx_spi.c: In function 'xilinx_spi_xfer': drivers/spi/xilinx_spi.c:193:2: warning: implicit declaration of function 'readl' [-Wimplicit-function-declaration] Signed-off-by: Jagan Teki Cc: Michal Simek --- diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c index 4b0b50f704..6c21acda57 100644 --- a/drivers/spi/xilinx_spi.c +++ b/drivers/spi/xilinx_spi.c @@ -19,6 +19,7 @@ #include #include #include +#include /* * [0]: http://www.xilinx.com/support/documentation