diff mbox

net: sh_eth: fix driver dependencies

Message ID 3693021.H9Y3NelqF1@amdc1032 (mailing list archive)
State Superseded
Headers show

Commit Message

Bartlomiej Zolnierkiewicz Sept. 1, 2014, 1:15 p.m. UTC
Renesas SuperH Ethernet support should be available only on
Renesas ARM SoCs and SuperH architecture.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <magnus.damm@gmail.com>
---
 drivers/net/ethernet/renesas/Kconfig |    1 +
 1 file changed, 1 insertion(+)


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

Comments

Sergei Shtylyov Sept. 1, 2014, 1:21 p.m. UTC | #1
Hello.

On 9/1/2014 5:15 PM, Bartlomiej Zolnierkiewicz wrote:

> Renesas SuperH Ethernet support should be available only on
> Renesas ARM SoCs and SuperH architecture.

> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> ---
>   drivers/net/ethernet/renesas/Kconfig |    1 +
>   1 file changed, 1 insertion(+)

> Index: b/drivers/net/ethernet/renesas/Kconfig
> ===================================================================
> --- a/drivers/net/ethernet/renesas/Kconfig	2014-07-30 14:31:20.479522692 +0200
> +++ b/drivers/net/ethernet/renesas/Kconfig	2014-09-01 14:45:36.160544016 +0200
> @@ -5,6 +5,7 @@
>   config SH_ETH
>   	tristate "Renesas SuperH Ethernet support"
>   	depends on HAS_DMA
> +	depends on ARCH_SHMOBILE || ARCH_SH || COMPILE_TEST

    s/ARCH-SH/SUPERH/ perhaps?

WBR, Sergei

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

Index: b/drivers/net/ethernet/renesas/Kconfig
===================================================================
--- a/drivers/net/ethernet/renesas/Kconfig	2014-07-30 14:31:20.479522692 +0200
+++ b/drivers/net/ethernet/renesas/Kconfig	2014-09-01 14:45:36.160544016 +0200
@@ -5,6 +5,7 @@ 
 config SH_ETH
 	tristate "Renesas SuperH Ethernet support"
 	depends on HAS_DMA
+	depends on ARCH_SHMOBILE || ARCH_SH || COMPILE_TEST
 	select CRC32
 	select MII
 	select MDIO_BITBANG