From efa4e43a40fae556c7af24292dda5e6500b9ca24 Mon Sep 17 00:00:00 2001 From: Michael Walle <[michael@walle.cc]> Date: Tue, 18 Oct 2011 20:12:00 +0530 Subject: [PATCH] kirkwood_spi: add dummy spi_init() The spi_init() function is missing. Add it. Signed-off-by: Michael Walle --- drivers/spi/kirkwood_spi.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2