Commit efa4e43a authored by Michael Walle's avatar Michael Walle Committed by Albert ARIBAUD

kirkwood_spi: add dummy spi_init()

The spi_init() function is missing. Add it.
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
parent 71f13a21
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment