From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chandrabhanu Mahapatra Subject: [PATCH V4 3/6] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks Date: Thu, 16 Aug 2012 16:48:33 +0530 Message-ID: <1345115913-6773-1-git-send-email-cmahapatra@ti.com> References: <1344859176-4512-1-git-send-email-cmahapatra@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:60736 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751213Ab2HPLXH (ORCPT ); Thu, 16 Aug 2012 07:23:07 -0400 In-Reply-To: <1344859176-4512-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 | 114 ++++++++++++++++++++++++++--------------- 1 file changed, 73 insertions(+), 41 deletions(-) diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 7b1c6ac..a9cb84b 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -31,6 +31,7 @@ #include #include #include +#include #include