video: fbdev: mmp: add COMPILE_TEST support
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 27 Jun 2019 14:07:43 +0000 (16:07 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 3 Jan 2020 13:27:35 +0000 (14:27 +0100)
Add COMPILE_TEST support to mmp display subsystem for better compile
testing coverage.

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d21a19ea-8c18-80df-ae79-76de7c5ee67c@samsung.com
drivers/video/fbdev/mmp/Kconfig
drivers/video/fbdev/mmp/hw/Kconfig

index 9041ffd2cfcfe20342ba1fdc411789cbe2451721..5c6cc97c96f0877575e3028fc5f056d3b8079796 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menuconfig MMP_DISP
        tristate "Marvell MMP Display Subsystem support"
-       depends on CPU_PXA910 || CPU_MMP2
+       depends on CPU_PXA910 || CPU_MMP2 || COMPILE_TEST
        help
          Marvell Display Subsystem support.
 
index 39ec9ebd781fa2bf5f733a4fcd09edafb3e41a78..7ebe125093d59844e348e7eba5754dd9173cc9d1 100644 (file)
@@ -1,7 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config MMP_DISP_CONTROLLER
        bool "mmp display controller hw support"
-       depends on CPU_PXA910 || CPU_MMP2
+       depends on HAVE_CLK && HAS_IOMEM
+       depends on CPU_PXA910 || CPU_MMP2 || COMPILE_TEST
        help
                Marvell MMP display hw controller support
                this controller is used on Marvell PXA910 and