From: Andreas Larsson Date: Tue, 4 Dec 2012 14:09:38 +0000 (+0100) Subject: spi/sparc: Allow of_register_spi_devices for sparc X-Git-Tag: v3.8-rc1~118^2 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=7cb943615aabbd72624f77f0a84b8c5d627cf846;p=linux%2F.git 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 --- diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 689eaf7485af..b8335a1f82ef 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -805,7 +805,7 @@ static int spi_master_initialize_queue(struct spi_master *master) /*-------------------------------------------------------------------------*/ -#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