[2/2] spi: sparc: Allow of_register_spi_devices for sparc

Submitted by Andreas Larsson on Dec. 4, 2012, 2:09 p.m.

Details

Message ID 1354630178-25387-3-git-send-email-andreas@gaisler.com
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Andreas Larsson Dec. 4, 2012, 2:09 p.m.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
---
 drivers/spi/spi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index c4f7d71..d8339fe 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -812,7 +812,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