via-rhine: Add platform dependencies
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 7 May 2020 11:42:05 +0000 (13:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 20:16:53 +0000 (13:16 -0700)
commit0932969e0b1b6ba54028b35b80148302e8fe7db8
tree71682c885f49bebe5ffcae6425a7ea76881a3f97
parent571cf29644542b9e410ed102cb35ecb27b4fdfa3
via-rhine: Add platform dependencies

The VIA Rhine Ethernet interface is only present on PCI devices or
VIA/WonderMedia VT8500/WM85xx SoCs.  Add platform dependencies to the
VIA_RHINE config symbol, to avoid asking the user about it when
configuring a kernel without PCI or VT8500/WM85xx support.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/Kconfig