From: Michael Walle <[michael@walle.cc]> Date: Tue, 18 Oct 2011 14:42:00 +0000 (+0530) Subject: kirkwood_spi: add dummy spi_init() X-Git-Tag: v2011.12-rc1~343^2~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=efa4e43a40fae556c7af24292dda5e6500b9ca24;p=u-boot kirkwood_spi: add dummy spi_init() The spi_init() function is missing. Add it. Signed-off-by: Michael Walle --- diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 6f502f05c4..54c403658c 100644 --- a/drivers/spi/kirkwood_spi.c +++ b/drivers/spi/kirkwood_spi.c @@ -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);