From: Antoine Ténart Date: Tue, 30 Sep 2014 14:28:14 +0000 (+0200) Subject: net: pxa168_eth: allow to compile the pxa168_eth driver for tests X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a140fcb2ede90980ef455b57995d6f1bd76084c0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git net: pxa168_eth: allow to compile the pxa168_eth driver for tests Add a dependency to COMPILE_TEST so that the driver can be compiled for test purposes. Signed-off-by: Antoine Tenart Acked-by: Arnd Bergmann Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig index 48b9466d1781..bed8fbb3edc5 100644 --- a/drivers/net/ethernet/marvell/Kconfig +++ b/drivers/net/ethernet/marvell/Kconfig @@ -64,7 +64,7 @@ config MVPP2 config PXA168_ETH tristate "Marvell pxa168 ethernet support" - depends on CPU_PXA168 || ARCH_BERLIN + depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST select PHYLIB ---help--- This driver supports the pxa168 Ethernet ports.