Re: [PATCH] spi: sh-msiof: Use ARCH_SHMOBILE instead of SUPERH

2016-09-01 Thread Simon Horman
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 

Reviewed-by: Simon Horman 

> ---
>  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
> 


[PATCH] spi: sh-msiof: Use ARCH_SHMOBILE instead of SUPERH

2016-08-31 Thread Geert Uytterhoeven
"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 
---
 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