diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/video-imxfb.h | 12 | ||||
| -rw-r--r-- | include/linux/xilinxfb.h | 30 |
2 files changed, 0 insertions, 42 deletions
diff --git a/include/linux/platform_data/video-imxfb.h b/include/linux/platform_data/video-imxfb.h index 9de8f062ad5d..18e908324549 100644 --- a/include/linux/platform_data/video-imxfb.h +++ b/include/linux/platform_data/video-imxfb.h | |||
| @@ -61,24 +61,12 @@ struct imx_fb_platform_data { | |||
| 61 | struct imx_fb_videomode *mode; | 61 | struct imx_fb_videomode *mode; |
| 62 | int num_modes; | 62 | int num_modes; |
| 63 | 63 | ||
| 64 | u_int cmap_greyscale:1, | ||
| 65 | cmap_inverse:1, | ||
| 66 | cmap_static:1, | ||
| 67 | unused:29; | ||
| 68 | |||
| 69 | u_int pwmr; | 64 | u_int pwmr; |
| 70 | u_int lscr1; | 65 | u_int lscr1; |
| 71 | u_int dmacr; | 66 | u_int dmacr; |
| 72 | 67 | ||
| 73 | u_char * fixed_screen_cpu; | ||
| 74 | dma_addr_t fixed_screen_dma; | ||
| 75 | |||
| 76 | int (*init)(struct platform_device *); | 68 | int (*init)(struct platform_device *); |
| 77 | void (*exit)(struct platform_device *); | 69 | void (*exit)(struct platform_device *); |
| 78 | |||
| 79 | void (*lcd_power)(int); | ||
| 80 | void (*backlight_power)(int); | ||
| 81 | }; | 70 | }; |
| 82 | 71 | ||
| 83 | void set_imx_fb_info(struct imx_fb_platform_data *); | ||
| 84 | #endif /* ifndef __MACH_IMXFB_H__ */ | 72 | #endif /* ifndef __MACH_IMXFB_H__ */ |
diff --git a/include/linux/xilinxfb.h b/include/linux/xilinxfb.h deleted file mode 100644 index 5a155a968054..000000000000 --- a/include/linux/xilinxfb.h +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Platform device data for Xilinx Framebuffer device | ||
| 3 | * | ||
| 4 | * Copyright 2007 Secret Lab Technologies Ltd. | ||
| 5 | * | ||
| 6 | * This file is licensed under the terms of the GNU General Public License | ||
| 7 | * version 2. This program is licensed "as is" without any warranty of any | ||
| 8 | * kind, whether express or implied. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef __XILINXFB_H__ | ||
| 12 | #define __XILINXFB_H__ | ||
| 13 | |||
| 14 | #include <linux/types.h> | ||
| 15 | |||
| 16 | /* ML300/403 reference design framebuffer driver platform data struct */ | ||
| 17 | struct xilinxfb_platform_data { | ||
| 18 | u32 rotate_screen; /* Flag to rotate display 180 degrees */ | ||
| 19 | u32 screen_height_mm; /* Physical dimensions of screen in mm */ | ||
| 20 | u32 screen_width_mm; | ||
| 21 | u32 xres, yres; /* resolution of screen in pixels */ | ||
| 22 | u32 xvirt, yvirt; /* resolution of memory buffer */ | ||
| 23 | |||
| 24 | /* Physical address of framebuffer memory; If non-zero, driver | ||
| 25 | * will use provided memory address instead of allocating one from | ||
| 26 | * the consistent pool. */ | ||
| 27 | u32 fb_phys; | ||
| 28 | }; | ||
| 29 | |||
| 30 | #endif /* __XILINXFB_H__ */ | ||
