spi/sparc: Allow of_register_spi_devices for sparc
[firefly-linux-kernel-4.4.55.git] / drivers / spi / spi.c
index 689eaf7485af425061426f2b7c9e03594a813621..b8335a1f82efdc1cf7fd506764c20e3d5f8da62a 100644 (file)
@@ -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