From 185bae1095188aa199c9be64d6030d8dbfc65e0a Mon Sep 17 00:00:00 2001 From: Chandrabhanu Mahapatra Date: Wed, 11 Jul 2012 18:36:18 +0530 Subject: [PATCH] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks All the cpu_is checks have been moved to dss_init_features function providing a much more generic and cleaner interface. The OMAP version and revision specific initializations in various functions are cleaned and the necessary data are moved to dss_features structure which is local to dss.c. Signed-off-by: Chandrabhanu Mahapatra Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dss.c | 120 ++++++++++++++++++++++------------ 1 file changed, 79 insertions(+), 41 deletions(-) diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index e2e0fa453c6..31a553a6ee6 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -31,6 +31,7 @@ #include #include #include +#include #include