[U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()
Michael Walle
michael at walle.cc
Fri Oct 7 00:23:54 CEST 2011
The spi_init() function is missing. Add it.
Signed-off-by: Michael Walle <michael at walle.cc>
---
drivers/spi/kirkwood_spi.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
index a1c3070..8c35d5e 100644
--- a/drivers/spi/kirkwood_spi.c
+++ b/drivers/spi/kirkwood_spi.c
@@ -106,6 +106,10 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs)
}
#endif
+void spi_init(void)
+{
+}
+
void spi_cs_activate(struct spi_slave *slave)
{
writel(readl(&spireg->ctrl) | KWSPI_IRQUNMASK, &spireg->ctrl);
--
1.7.2.5
More information about the U-Boot
mailing list