From 7cb943615aabbd72624f77f0a84b8c5d627cf846 Mon Sep 17 00:00:00 2001 From: Andreas Larsson Date: Tue, 4 Dec 2012 15:09:38 +0100 Subject: [PATCH] spi/sparc: Allow of_register_spi_devices for sparc The spi support code works on SPARC too. No reason to exclude it from the party. Signed-off-by: Andreas Larsson Acked-by: David S. Miller Signed-off-by: Grant Likely --- drivers/spi/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 689eaf7485a..b8335a1f82e 100644 --- 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 -- 2.41.0