spi: sh-msiof: Use ARCH_SHMOBILE instead of SUPERH
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 31 Aug 2016 09:37:05 +0000 (11:37 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 19:53:52 +0000 (20:53 +0100)
"spi_sh_msiof" is used on sh7723 and sh7724 only. As all of the above
select ARCH_SHMOBILE, restrict its driver dependencies from SUPERH to
ARCH_SHMOBILE.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig

index d6fb8d4..056e3ba 100644 (file)
@@ -549,7 +549,7 @@ config SPI_SC18IS602
 config SPI_SH_MSIOF
        tristate "SuperH MSIOF SPI controller"
        depends on HAVE_CLK && HAS_DMA
-       depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
+       depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
        help
          SPI driver for SuperH and SH Mobile MSIOF blocks.