From: Michael Walle Date: Fri, 7 Oct 2011 00:23:54 +0200 Subject: [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init() Message-ID: <1317939834-19777-1-git-send-email-michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The spi_init() function is missing. Add it. Signed-off-by: Michael Walle --- 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