diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-23 18:12:47 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-23 18:12:47 +0000 |
commit | ca9c31d8ca049247c66033d5d4bc50958c260750 (patch) | |
tree | ed9f7ba69ab3c2bbf94a8af890b057a88c6e01f0 /target/linux/s3c24xx/files-2.6.30/include | |
parent | f227ba2d68eaed705c4445e006f7db8a07df85f5 (diff) |
[s3c24xx] fix glamo modesetting.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16015 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/include')
-rw-r--r-- | target/linux/s3c24xx/files-2.6.30/include/linux/glamofb.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/include/linux/glamofb.h b/target/linux/s3c24xx/files-2.6.30/include/linux/glamofb.h index 47d41e622..7f137feb3 100644 --- a/target/linux/s3c24xx/files-2.6.30/include/linux/glamofb.h +++ b/target/linux/s3c24xx/files-2.6.30/include/linux/glamofb.h @@ -2,26 +2,16 @@ #define _LINUX_GLAMOFB_H #include <linux/spi/glamo.h> - -struct glamofb_val { - unsigned int defval; - unsigned int min; - unsigned int max; -}; +#include <linux/fb.h> struct glamo_core; struct glamofb_platform_data { int width, height; - int pixclock; - int left_margin, right_margin; - int upper_margin, lower_margin; - int hsync_len, vsync_len; int fb_mem_size; - struct glamofb_val xres; - struct glamofb_val yres; - struct glamofb_val bpp; + int num_modes; + struct fb_videomode *modes; struct glamo_spi_info *spi_info; struct glamo_spigpio_info *spigpio_info; |