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:
parent
71f13a21dc
commit
efa4e43a40
@ -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…
Reference in New Issue
Block a user