diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/omapfb.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h index c0b018790f07..4ff57e81051d 100644 --- a/include/linux/omapfb.h +++ b/include/linux/omapfb.h | |||
@@ -222,41 +222,11 @@ struct omapfb_display_info { | |||
222 | 222 | ||
223 | #include <plat/board.h> | 223 | #include <plat/board.h> |
224 | 224 | ||
225 | #ifdef CONFIG_ARCH_OMAP1 | ||
226 | #define OMAPFB_PLANE_NUM 1 | ||
227 | #else | ||
228 | #define OMAPFB_PLANE_NUM 3 | ||
229 | #endif | ||
230 | |||
231 | struct omapfb_mem_region { | ||
232 | u32 paddr; | ||
233 | void __iomem *vaddr; | ||
234 | unsigned long size; | ||
235 | u8 type; /* OMAPFB_PLANE_MEM_* */ | ||
236 | enum omapfb_color_format format;/* OMAPFB_COLOR_* */ | ||
237 | unsigned format_used:1; /* Must be set when format is set. | ||
238 | * Needed b/c of the badly chosen 0 | ||
239 | * base for OMAPFB_COLOR_* values | ||
240 | */ | ||
241 | unsigned alloc:1; /* allocated by the driver */ | ||
242 | unsigned map:1; /* kernel mapped by the driver */ | ||
243 | }; | ||
244 | |||
245 | struct omapfb_mem_desc { | ||
246 | int region_cnt; | ||
247 | struct omapfb_mem_region region[OMAPFB_PLANE_NUM]; | ||
248 | }; | ||
249 | |||
250 | struct omapfb_platform_data { | 225 | struct omapfb_platform_data { |
251 | struct omap_lcd_config lcd; | 226 | struct omap_lcd_config lcd; |
252 | struct omapfb_mem_desc mem_desc; | ||
253 | void *ctrl_platform_data; | ||
254 | }; | 227 | }; |
255 | 228 | ||
256 | /* in arch/arm/plat-omap/fb.c */ | 229 | void __init omapfb_set_lcd_config(const struct omap_lcd_config *config); |
257 | extern void omapfb_set_platform_data(struct omapfb_platform_data *data); | ||
258 | extern void omapfb_set_ctrl_platform_data(void *pdata); | ||
259 | extern void omapfb_reserve_sdram_memblock(void); | ||
260 | 230 | ||
261 | #endif | 231 | #endif |
262 | 232 | ||