From patchwork Fri May 27 07:01:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: archit taneja X-Patchwork-Id: 823082 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4R6txLn017488 for ; Fri, 27 May 2011 06:56:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758238Ab1E0Gzt (ORCPT ); Fri, 27 May 2011 02:55:49 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:44255 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752960Ab1E0Gzt (ORCPT ); Fri, 27 May 2011 02:55:49 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id p4R6tmGZ021515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 27 May 2011 01:55:48 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id p4R6tmgT012178 for ; Fri, 27 May 2011 01:55:48 -0500 (CDT) Received: from dlee74.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p4R6tmJX007436 for ; Fri, 27 May 2011 01:55:48 -0500 (CDT) Received: from dlelxv24.itg.ti.com (172.17.1.199) by dlee74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 8.3.106.1; Fri, 27 May 2011 01:55:48 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id p4R6tmwg023331; Fri, 27 May 2011 01:55:48 -0500 Received: from localhost (a0393947pc.apr.dhcp.ti.com [172.24.137.144]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p4R6tkf03348; Fri, 27 May 2011 01:55:47 -0500 (CDT) From: Archit Taneja To: CC: hvaibhav@ti.com, Archit Taneja Subject: [PATCH 1/2] OMAP_VOUT: CLEANUP: Move some functions and macros from omap_vout Date: Fri, 27 May 2011 12:31:16 +0530 Message-ID: <1306479677-23540-2-git-send-email-archit@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1306479677-23540-1-git-send-email-archit@ti.com> References: <1306479677-23540-1-git-send-email-archit@ti.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 27 May 2011 06:56:00 +0000 (UTC) Move some inline functions from omap_vout.c to omap_voutdef.h and independent functions like omap_vout_alloc_buffer/omap_vout_free_buffer to omap_voutlib.c. Signed-off-by: Archit Taneja --- drivers/media/video/omap/omap_vout.c | 109 ------------------------------- drivers/media/video/omap/omap_voutdef.h | 62 +++++++++++++++++ drivers/media/video/omap/omap_voutlib.c | 44 ++++++++++++ drivers/media/video/omap/omap_voutlib.h | 2 + 4 files changed, 108 insertions(+), 109 deletions(-) diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index 4ada9be..6433e7b 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c @@ -35,17 +35,14 @@ #include #include #include -#include #include #include -#include #include #include #include #include -#include #include #include