kirkwood_spi: add dummy spi_init()

The spi_init() function is missing. Add it.

Signed-off-by: Michael Walle <michael@walle.cc>
This commit is contained in:
Michael Walle 2011-10-18 20:12:00 +05:30 committed by Albert ARIBAUD
parent 71f13a21dc
commit efa4e43a40

View 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);