From f6a5d666df5107051f4b716b8ed7e8e9a8a2d06a Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Thu, 19 May 2011 09:42:55 +0200 Subject: [PATCH 073/107] video: atmelfb: initially split atmelfb into a driver and library part MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Wolfram Sang Signed-off-by: Uwe Kleine-König --- drivers/video/Makefile | 2 +- drivers/video/atmel_lcdfb.c | 1410 +------------------------------------- drivers/video/atmel_lcdfb_core.c | 1077 +++++++++++++++++++++++++++++ include/video/atmel_lcdc.h | 17 +- 4 files changed, 1104 insertions(+), 1402 deletions(-) create mode 100644 drivers/video/atmel_lcdfb_core.c diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 2ea44b6..e963559 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -91,7 +91,7 @@ obj-$(CONFIG_FB_EP93XX) += ep93xx-fb.o obj-$(CONFIG_FB_SA1100) += sa1100fb.o obj-$(CONFIG_FB_HIT) += hitfb.o obj-$(CONFIG_FB_EPSON1355) += epson1355fb.o -obj-$(CONFIG_FB_ATMEL) += atmel_lcdfb.o +obj-$(CONFIG_FB_ATMEL) += atmel_lcdfb.o atmel_lcdfb_core.o obj-$(CONFIG_FB_PVR2) += pvr2fb.o obj-$(CONFIG_FB_VOODOO1) += sstfb.o obj-$(CONFIG_FB_ARMCLCD) += amba-clcd.o diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 2a943ae..4e1454c 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -10,1384 +10,12 @@ #include #include -#include #include -#include #include #include #include -#include -#include - -#include -#include -#include #include