From 950e2fb420d54bf0ee0de2fb0f146827a98330bf Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 12 Nov 2012 15:17:39 +0200 Subject: [media] omap_vout: use omapdss's version instead of cpu_is_* cpu_is_* class functions create a dependency to OMAP platform code. omapdss driver, which omap_vout uses, exposes a function to get the version of the DSS hardware. To remove the dependency to OMAP platform code this patch changes omap_vout to use the omapdss version. For most of the checks, the ones dealing with DSS differences, this is actually more correct than using cpu_is_* functions. For the check whether VRFB is available or not this is not really correct, but still works fine. Signed-off-by: Tomi Valkeinen Tested-by: Laurent Pinchart Acked-by: Laurent Pinchart Acked-by: Mauro Carvalho Chehab --- drivers/media/platform/omap/omap_vout.c | 3 +-- drivers/media/platform/omap/omap_voutlib.c | 38 ++++++++++++++++++++++-------- drivers/media/platform/omap/omap_voutlib.h | 3 +++ 3 files changed, 32 insertions(+), 12 deletions(-) (limited to 'drivers/media') diff --git a/drivers/media/platform/omap/omap_vout.c b/drivers/media/platform/omap/omap_vout.c index 3ff94a30fde..7b1afc8585c 100644 --- a/drivers/media/platform/omap/omap_vout.c +++ b/drivers/media/platform/omap/omap_vout.c @@ -44,7 +44,6 @@ #include #include -#include #include #include