media: omap3isp: Enable driver compilation on ARM with COMPILE_TEST
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 7 Apr 2018 11:40:08 +0000 (07:40 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 14:47:58 +0000 (10:47 -0400)
commitba37e6dd017e1b8129707f225cb751ba3125db21
treea006687c99b2c15af61c11ba3edb23eb6dc8e6f2
parentc7f1770f369ae0ec632b3ddc2bd6677b0e485128
media: omap3isp: Enable driver compilation on ARM with COMPILE_TEST

The omap3isp driver can't be compiled on non-ARM platforms but has no
compile-time dependency on OMAP. It however requires common clock
framework support, which isn't provided by all ARM platforms.

Drop the OMAP dependency when COMPILE_TEST is set and add ARM and
COMMON_CLK dependencies.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/Kconfig