summaryrefslogtreecommitdiff
path: root/include/linux/omapfb.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-20 15:43:14 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-23 11:39:19 +0400
commit8f5e35a7942afe70eb0ba0d8193801b7989ae03a (patch)
treeb0bc502046eb4421085ee905e7fab1797298bc83 /include/linux/omapfb.h
parent82d5b3e2319c9d1ea46c95b1e8b0db66d6f05a84 (diff)
downloadlinux-8f5e35a7942afe70eb0ba0d8193801b7989ae03a.tar.xz
OMAPFB: Move old omapfb private structs to a private include file
include/linux/omapfb.h contains structs that are used only by the omapfb driver. Move the structs into drivers/video/omap/omapfb.h. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/linux/omapfb.h')
-rw-r--r--include/linux/omapfb.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h
index 03f52555ce63..7a8e0ea345eb 100644
--- a/include/linux/omapfb.h
+++ b/include/linux/omapfb.h
@@ -222,31 +222,6 @@ struct omapfb_display_info {
#include <plat/board.h>
-#ifdef CONFIG_ARCH_OMAP1
-#define OMAPFB_PLANE_NUM 1
-#else
-#define OMAPFB_PLANE_NUM 3
-#endif
-
-struct omapfb_mem_region {
- u32 paddr;
- void __iomem *vaddr;
- unsigned long size;
- u8 type; /* OMAPFB_PLANE_MEM_* */
- enum omapfb_color_format format;/* OMAPFB_COLOR_* */
- unsigned format_used:1; /* Must be set when format is set.
- * Needed b/c of the badly chosen 0
- * base for OMAPFB_COLOR_* values
- */
- unsigned alloc:1; /* allocated by the driver */
- unsigned map:1; /* kernel mapped by the driver */
-};
-
-struct omapfb_mem_desc {
- int region_cnt;
- struct omapfb_mem_region region[OMAPFB_PLANE_NUM];
-};
-
struct omapfb_platform_data {
struct omap_lcd_config lcd;
};