]> git.sur5r.net Git - u-boot/commitdiff
kirkwood_spi: add dummy spi_init()
authorMichael Walle <[michael@walle.cc]>
Tue, 18 Oct 2011 14:42:00 +0000 (20:12 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:33 +0000 (21:56 +0200)
The spi_init() function is missing. Add it.

Signed-off-by: Michael Walle <michael@walle.cc>
drivers/spi/kirkwood_spi.c

index 6f502f05c468eea1a6646f919aacb5422e8448a2..54c403658c71e84cef57599865fe6305c0d440ab 100644 (file)
@@ -107,6 +107,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);