From 9586778de5586536fe0c968b226bde574adf6107 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 30 Aug 2012 10:54:12 +0300 Subject: OMAPFB1: remove unnecessary includes Remove unnecessary includes from the old omapfb driver. Signed-off-by: Tomi Valkeinen --- drivers/video/omap/hwa742.c | 1 - drivers/video/omap/lcd_ams_delta.c | 1 - drivers/video/omap/lcd_palmte.c | 1 - 3 files changed, 3 deletions(-) (limited to 'drivers/video/omap') diff --git a/drivers/video/omap/hwa742.c b/drivers/video/omap/hwa742.c index 9f1d23c319cb..f349ee6f0cea 100644 --- a/drivers/video/omap/hwa742.c +++ b/drivers/video/omap/hwa742.c @@ -27,7 +27,6 @@ #include #include -#include #include "omapfb.h" #define HWA742_REV_CODE_REG 0x0 diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c index d3a311327227..5cca6b373af7 100644 --- a/drivers/video/omap/lcd_ams_delta.c +++ b/drivers/video/omap/lcd_ams_delta.c @@ -28,7 +28,6 @@ #include #include -#include #include "omapfb.h" diff --git a/drivers/video/omap/lcd_palmte.c b/drivers/video/omap/lcd_palmte.c index 88c31eb0cd6c..ff4fb624b904 100644 --- a/drivers/video/omap/lcd_palmte.c +++ b/drivers/video/omap/lcd_palmte.c @@ -23,7 +23,6 @@ #include #include -#include #include "omapfb.h" static int palmte_panel_init(struct lcd_panel *panel, -- cgit v1.2.3 From 10bc80f62562a9151d24f7f005d400fb65c18e10 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 30 Aug 2012 10:54:50 +0300 Subject: OMAPFB1: remove a non-used table The old omapfb driver contains a table for DMA element types, which is not used. Remove it. Signed-off-by: Tomi Valkeinen --- drivers/video/omap/omapfb_main.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'drivers/video/omap') diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index f54b463709e9..4351c438b76f 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c @@ -131,15 +131,6 @@ static void omapfb_rqueue_unlock(struct omapfb_device *fbdev) * LCD controller and LCD DMA * --------------------------------------------------------------------------- */ -/* Lookup table to map elem size to elem type. */ -static const int dma_elem_type[] = { - 0, - OMAP_DMA_DATA_TYPE_S8, - OMAP_DMA_DATA_TYPE_S16, - 0, - OMAP_DMA_DATA_TYPE_S32, -}; - /* * Allocate resources needed for LCD controller and LCD DMA operations. Video * memory is allocated from system memory according to the virtual display -- cgit v1.2.3