projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4a319
)
spi/sparc: Allow of_register_spi_devices for sparc
author
Andreas Larsson
<
[email protected]
>
Tue, 4 Dec 2012 14:09:38 +0000
(15:09 +0100)
committer
Grant Likely
<
[email protected]
>
Mon, 10 Dec 2012 22:31:37 +0000
(22:31 +0000)
The spi support code works on SPARC too. No reason to exclude it from
the party.
Signed-off-by: Andreas Larsson <
[email protected]
>
Acked-by: David S. Miller <
[email protected]
>
Signed-off-by: Grant Likely <
[email protected]
>
drivers/spi/spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi.c
b/drivers/spi/spi.c
index 689eaf7485af425061426f2b7c9e03594a813621..b8335a1f82efdc1cf7fd506764c20e3d5f8da62a 100644
(file)
--- a/
drivers/spi/spi.c
+++ b/
drivers/spi/spi.c
@@
-805,7
+805,7
@@
err_init_queue:
/*-------------------------------------------------------------------------*/
-#if defined(CONFIG_OF)
&& !defined(CONFIG_SPARC)
+#if defined(CONFIG_OF)
/**
* of_register_spi_devices() - Register child devices onto the SPI bus
* @master: Pointer to spi_master device