From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 3.mo1.mail-out.ovh.net ([46.105.60.232] helo=mo1.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U0ski-000891-0A for barebox@lists.infradead.org; Thu, 31 Jan 2013 11:56:34 +0000 Received: from mail610.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo1.mail-out.ovh.net (Postfix) with SMTP id 029EEFFAFAC for ; Thu, 31 Jan 2013 13:11:05 +0100 (CET) From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 31 Jan 2013 12:54:55 +0100 Message-Id: <1359633302-19419-1-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <20130131115046.GA26329@game.jcrosoft.org> References: <20130131115046.GA26329@game.jcrosoft.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/8] atmel_lcdfb: factorise common code between lcdc and new hlcdc IP To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/video/Makefile | 2 +- drivers/video/atmel_lcdfb.c | 313 +++----------------- drivers/video/atmel_lcdfb.h | 37 +++ .../video/{atmel_lcdfb.c => atmel_lcdfb_core.c} | 259 ++-------------- 4 files changed, 102 insertions(+), 509 deletions(-) create mode 100644 drivers/video/atmel_lcdfb.h copy drivers/video/{atmel_lcdfb.c => atmel_lcdfb_core.c} (53%) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 1953307..724ef99 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -1,6 +1,6 @@ obj-$(CONFIG_VIDEO) += fb.o -obj-$(CONFIG_DRIVER_VIDEO_ATMEL) += atmel_lcdfb.o +obj-$(CONFIG_DRIVER_VIDEO_ATMEL) += atmel_lcdfb.o atmel_lcdfb_core.o obj-$(CONFIG_DRIVER_VIDEO_STM) += stm.o obj-$(CONFIG_DRIVER_VIDEO_IMX) += imx.o obj-$(CONFIG_DRIVER_VIDEO_IMX_IPU) += imx-ipu-fb.o diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 3a49688..736b25e 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -25,50 +25,19 @@ #include #include #include -#include -#include -#include