kirkwood_spi: add dummy spi_init()

The spi_init() function is missing. Add it.

Signed-off-by: Michael Walle <michael@walle.cc>
master
Michael Walle 13 years ago committed by Albert ARIBAUD
parent 71f13a21dc
commit efa4e43a40
  1. 4
      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);

Loading…
Cancel
Save