Skip to content
Snippets Groups Projects
Commit efa4e43a authored by Michael Walle's avatar Michael Walle Committed by Albert ARIBAUD
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment