Thread (9 messages) 9 messages, 5 authors, 2012-12-07
STALE4935d

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

From: Andreas Larsson <andreas@gaisler.com>
Date: 2012-12-04 14:09:38
Also in: linux-i2c, linux-spi, sparclinux
Subsystem: spi subsystem, the rest · Maintainers: Mark Brown, Linus Torvalds

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
---
 drivers/spi/spi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help