media: omap2: omapfb: allow building it with COMPILE_TEST

This driver builds cleanly with COMPILE_TEST, and it is
needed in order to allow building drivers/media omap2
driver.

So, change the logic there to allow building it.

Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2018-04-05 13:28:26 -04:00
parent e199fa7caf
commit 7378f11498

View File

@ -1,4 +1,4 @@
if ARCH_OMAP2PLUS
if ARCH_OMAP2PLUS || COMPILE_TEST
source "drivers/video/fbdev/omap2/omapfb/Kconfig"