diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-05-23 18:12:47 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-05-23 18:12:47 +0000 |
commit | 7fa02901b8e3f310c071227eed179941528d0f34 (patch) | |
tree | ed9f7ba69ab3c2bbf94a8af890b057a88c6e01f0 /target/linux/s3c24xx/files-2.6.30/include | |
parent | d797dde45bf383b082a6596722fbfe976deb738e (diff) | |
download | upstream-7fa02901b8e3f310c071227eed179941528d0f34.tar.gz upstream-7fa02901b8e3f310c071227eed179941528d0f34.tar.bz2 upstream-7fa02901b8e3f310c071227eed179941528d0f34.zip |
[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 47d41e6221..7f137feb3d 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; |