From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chandrabhanu Mahapatra Subject: [PATCH 3/6] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks Date: Mon, 13 Aug 2012 17:29:36 +0530 Message-ID: <1344859176-4512-1-git-send-email-cmahapatra@ti.com> References: <1344425899-28267-1-git-send-email-cmahapatra@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from bear.ext.ti.com ([192.94.94.41]:58687 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653Ab2HMMCy (ORCPT ); Mon, 13 Aug 2012 08:02:54 -0400 In-Reply-To: <1344425899-28267-1-git-send-email-cmahapatra@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: tomi.valkeinen@ti.com Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, Chandrabhanu Mahapatra 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 --- drivers/video/omap2/dss/dss.c | 115 ++++++++++++++++++++++++++--------------- 1 file changed, 74 insertions(+), 41 deletions(-) diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 7b1c6ac..6ab236e 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -31,6 +31,7 @@ #include #include #include +#include #include