net: pxa168_eth: allow to compile the pxa168_eth driver for tests
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Tue, 30 Sep 2014 14:28:14 +0000 (16:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2014 20:36:13 +0000 (16:36 -0400)
Add a dependency to COMPILE_TEST so that the driver can be compiled for
test purposes.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/Kconfig

index 48b9466d1781a46ad1ed96a4448d56529ea0f2d9..bed8fbb3edc5ea277e8a753965fcba054297f825 100644 (file)
@@ -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.