Explorar o código

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 <antoine.tenart@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Antoine Ténart %!s(int64=11) %!d(string=hai) anos
pai
achega
a140fcb2ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/net/ethernet/marvell/Kconfig

+ 1 - 1
drivers/net/ethernet/marvell/Kconfig

@@ -64,7 +64,7 @@ config MVPP2
 
 
 config PXA168_ETH
 config PXA168_ETH
 	tristate "Marvell pxa168 ethernet support"
 	tristate "Marvell pxa168 ethernet support"
-	depends on CPU_PXA168 || ARCH_BERLIN
+	depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST
 	select PHYLIB
 	select PHYLIB
 	---help---
 	---help---
 	  This driver supports the pxa168 Ethernet ports.
 	  This driver supports the pxa168 Ethernet ports.