video: fbdev: w100fb: add COMPILE_TEST support
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 16 Jan 2020 14:53:58 +0000 (15:53 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 2 Mar 2020 15:32:03 +0000 (16:32 +0100)
Add COMPILE_TEST support to w100fb driver for better compile
testing coverage.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/a929db5e-d373-7b09-ae2b-efec227f7e85@samsung.com
drivers/video/fbdev/Kconfig

index 866d4e01237cc0e7196bebf04abe365bd43807d1..3263e3f69a7183b60d0a3f6e627609213fb9e037 100644 (file)
@@ -1827,7 +1827,7 @@ config FB_FSL_DIU
 
 config FB_W100
        tristate "W100 frame buffer support"
-       depends on FB && ARCH_PXA
+       depends on FB && HAS_IOMEM && (ARCH_PXA || COMPILE_TEST)
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT