diff mbox

spi: sh-msiof: Use ARCH_SHMOBILE instead of SUPERH

Message ID 1472636225-27091-1-git-send-email-geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show

Commit Message

Geert Uytterhoeven Aug. 31, 2016, 9:37 a.m. UTC
"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>
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman Sept. 1, 2016, 1:42 p.m. UTC | #1
On Wed, Aug 31, 2016 at 11:37:05AM +0200, Geert Uytterhoeven wrote:
> "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>

> ---
>  drivers/spi/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 5c8e51e96888cc53..96087e9fc998461c 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -556,7 +556,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.
>  
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 5c8e51e96888cc53..96087e9fc998461c 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -556,7 +556,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.