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: firefly_0821_release~3680^2~1459^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7cb943615aabbd72624f77f0a84b8c5d627cf846;hp=fd4a319bc933ae93e68935b21924a9ca4ba2d060;p=firefly-linux-kernel-4.4.55.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 @@ 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