OSDN Git Service

mfd: sun6i-prcm: Allow to compile with COMPILE_TEST
authorMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 22 Mar 2019 09:16:50 +0000 (10:16 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 3 Apr 2019 07:38:07 +0000 (08:38 +0100)
Since this driver only has a dependency on ARCH_SUNXI just because it
doesn't make any sense to run it on something else, we can definitely
enable it through COMPILE_TEST as well to get some build coverage.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index 0ce2d8d..26ad646 100644 (file)
@@ -1246,7 +1246,7 @@ config MFD_STA2X11
 
 config MFD_SUN6I_PRCM
        bool "Allwinner A31 PRCM controller"
-       depends on ARCH_SUNXI
+       depends on ARCH_SUNXI || COMPILE_TEST
        select MFD_CORE
        help
          Support for the PRCM (Power/Reset/Clock Management) unit available