]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: abx500-core: Allow driver to built if COMPILE_TEST is enabled
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 14 Oct 2016 12:57:32 +0000 (09:57 -0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:22 +0000 (08:21 +0000)
The driver only has runtime but no build time dependency with ARCH_U300 ||
ARCH_U8500 So it can be built for testing purposes if 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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index 01ef4fed9e3c2e9e16215b083f98645cc28488cb..c7dd3287055840153692cd4b80e804335b3d0cc9 100644 (file)
@@ -967,7 +967,7 @@ config MFD_SMSC
 
 config ABX500_CORE
        bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
-       default y if ARCH_U300 || ARCH_U8500
+       default y if ARCH_U300 || ARCH_U8500 || COMPILE_TEST
        help
          Say yes here if you have the ABX500 Mixed Signal IC family
          chips. This core driver expose register access functions.