Przeglądaj źródła

net: wan: slic_ds26522: Allow driver to built if COMPILE_TEST is enabled

The driver only has runtime but no build time dependency with FSL_SOC ||
ARCH_MXC || ARCH_LAYERSCAPE.  So it can be built for testing purposes if
the COMPILE_TEST option is enabled.

This is useful to have more build coverage and make sure that the driver
is not affected by changes that could cause build regressions.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Javier Martinez Canillas 8 lat temu
rodzic
commit
059f014108
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/net/wan/Kconfig

+ 1 - 1
drivers/net/wan/Kconfig

@@ -294,7 +294,7 @@ config FSL_UCC_HDLC
 config SLIC_DS26522
 config SLIC_DS26522
 	tristate "Slic Maxim ds26522 card support"
 	tristate "Slic Maxim ds26522 card support"
 	depends on SPI
 	depends on SPI
-	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE
+	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
 	help
 	help
 	  This module initializes and configures the slic maxim card
 	  This module initializes and configures the slic maxim card
 	  in T1 or E1 mode.
 	  in T1 or E1 mode.