video: fbdev: arcfb: add COMPILE_TEST support
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 16 Jan 2020 14:49:07 +0000 (15:49 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 2 Mar 2020 15:31:50 +0000 (16:31 +0100)
Add COMPILE_TEST support to arcfb 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/acf2cc2e-614d-f0fb-ce40-cee62bfcde4c@samsung.com
drivers/video/fbdev/Kconfig

index 33dc03bf1e86b9155f12de3a48eb426deccb0c96..866d4e01237cc0e7196bebf04abe365bd43807d1 100644 (file)
@@ -435,7 +435,7 @@ config FB_FM2
 
 config FB_ARC
        tristate "Arc Monochrome LCD board support"
-       depends on FB && X86
+       depends on FB && (X86 || COMPILE_TEST)
        select FB_SYS_FILLRECT
        select FB_SYS_COPYAREA
        select FB_SYS_IMAGEBLIT