]> git.sur5r.net Git - u-boot/commit
spi: xilinx_spi: Add asm/io.h include file
authorJagan Teki <jteki@openedev.com>
Fri, 26 Jun 2015 19:21:37 +0000 (00:51 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 1 Jul 2015 15:45:03 +0000 (21:15 +0530)
commit5f24d123c868c8f2900c7c3f8aa7efc5e6ccc6be
tree5cb83107d688651ad01bb71308bbef11bf31705e
parent9505c36ed05b94a11c836b1347fd1e4c1918dd50
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 <jteki@openedev.com>
Cc: Michal Simek <michal.simek@xilinx.com>
drivers/spi/xilinx_spi.c