From: Tomi Valkeinen Date: Mon, 12 Nov 2012 13:17:39 +0000 (+0200) Subject: [media] omap_vout: use omapdss's version instead of cpu_is_* X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=950e2fb420d54bf0ee0de2fb0f146827a98330bf;p=deliverable%2Flinux.git [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 --- diff --git a/drivers/media/platform/omap/omap_vout.c b/drivers/media/platform/omap/omap_vout.c index 3ff94a30fde4..7b1afc8585c6 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