Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Javier Martinez Canillas and committed by
David S. Miller
059f0141 485c9d43

+1 -1
+1 -1
drivers/net/wan/Kconfig
··· 294 294 config SLIC_DS26522 295 295 tristate "Slic Maxim ds26522 card support" 296 296 depends on SPI 297 - depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE 297 + depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST 298 298 help 299 299 This module initializes and configures the slic maxim card 300 300 in T1 or E1 mode.