From: Chandrabhanu Mahapatra Date: Wed, 11 Jul 2012 13:06:18 +0000 (+0530) Subject: OMAPDSS: DSS: Cleanup cpu_is_xxxx checks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=185bae1095188aa199c9be64d6030d8dbfc65e0a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 --- 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