Sfoglia il codice sorgente

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 11 anni fa
parent
commit
a140fcb2ed
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.