projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f13a2
)
kirkwood_spi: add dummy spi_init()
author
Michael Walle
<[michael@walle.cc]>
Tue, 18 Oct 2011 14:42:00 +0000
(20:12 +0530)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:33 +0000
(21:56 +0200)
The spi_init() function is missing. Add it.
Signed-off-by: Michael Walle <michael@walle.cc>
drivers/spi/kirkwood_spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/kirkwood_spi.c
b/drivers/spi/kirkwood_spi.c
index 6f502f05c468eea1a6646f919aacb5422e8448a2..54c403658c71e84cef57599865fe6305c0d440ab 100644
(file)
--- a/
drivers/spi/kirkwood_spi.c
+++ b/
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);