Improve the build testing of this davicom driver by enabling it when
COMPILE_TEST is selected.

Signed-off-by: Andrew Lunn <and...@lunn.ch>
---
 drivers/net/ethernet/davicom/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/davicom/Kconfig 
b/drivers/net/ethernet/davicom/Kconfig
index 76247103e566..7af86b6d4150 100644
--- a/drivers/net/ethernet/davicom/Kconfig
+++ b/drivers/net/ethernet/davicom/Kconfig
@@ -5,7 +5,7 @@
 
 config DM9000
        tristate "DM9000 support"
-       depends on ARM || MIPS || COLDFIRE || NIOS2
+       depends on ARM || MIPS || COLDFIRE || NIOS2 || COMPILE_TEST
        select CRC32
        select MII
        help
-- 
2.28.0

Reply via email to