From: Jagan Teki <jteki@openedev.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 15/16] spi: xilinx_spi: Add asm/io.h include file
Date: Sat, 27 Jun 2015 00:51:37 +0530 [thread overview]
Message-ID: <1435346498-3676-16-git-send-email-jteki@openedev.com> (raw)
In-Reply-To: <1435346498-3676-1-git-send-email-jteki@openedev.com>
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c
index b201b8f..2c82428 100644
--- a/drivers/spi/xilinx_spi.c
+++ b/drivers/spi/xilinx_spi.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <malloc.h>
#include <spi.h>
+#include <asm/io.h>
/*
* [0]: http://www.xilinx.com/support/documentation
--
1.9.1
next prev parent reply other threads:[~2015-06-26 19:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 19:21 [U-Boot] [PATCH v3 00/16] spi/sf: Cleansup and driver model Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 01/16] spi: Zap andes_spi driver Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 02/16] spi: Zap ftssp010_spi driver Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 03/16] spi: Zap oc_tiny_spi driver Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 04/16] spi: xilinx_spi: Move header code to driver Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 05/16] spi: xilinx_spi: Driver clean-up Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 06/16] spi: davinci_spi: Move header code to driver Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 07/16] spi: davinci_spi: Driver cleanup Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 08/16] spi/sf: Minor cleanups Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 09/16] dm: spi: zynq_spi: Convert to driver model Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 10/16] zynq: Kconfig: Enable dm spi and spi_flash Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 11/16] dts: zynq: Add zynq spi controller nodes Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 12/16] spi: zynq_spi: Add fdt support in driver Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 13/16] dts: zynq: Enable spi1 for zc770_xm010 board Jagan Teki
2015-06-26 19:21 ` [U-Boot] [PATCH v3 14/16] dm: spi: xilinx_spi: Convert to driver model Jagan Teki
2015-06-26 19:21 ` Jagan Teki [this message]
2015-06-26 19:21 ` [U-Boot] [PATCH v3 16/16] spi: Kconfig: Add Zynq SPI controller entry Jagan Teki
2015-06-30 14:58 ` Simon Glass
2015-06-26 19:27 ` [U-Boot] [PATCH v3 00/16] spi/sf: Cleansup and driver model Jagan Teki
2015-07-01 16:52 ` Jagan Teki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1435346498-3676-16-git-send-email-jteki@openedev.com \
--to=jteki@openedev.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox