summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/files-2.6.30/include
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-05-23 18:12:47 +0000
committerLars-Peter Clausen <lars@metafoo.de>2009-05-23 18:12:47 +0000
commita183bf954c5b586ac31b8dd5b7f3577c153b8232 (patch)
tree6ccd24342588df3cd4759ba6d7a67209dd093657 /target/linux/s3c24xx/files-2.6.30/include
parent94808e01087d84b3479a0f4fc4f840d134247b47 (diff)
downloadmtk-20170518-a183bf954c5b586ac31b8dd5b7f3577c153b8232.zip
mtk-20170518-a183bf954c5b586ac31b8dd5b7f3577c153b8232.tar.gz
mtk-20170518-a183bf954c5b586ac31b8dd5b7f3577c153b8232.tar.bz2
fix glamo modesetting.
SVN-Revision: 16015
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/include')
-rw-r--r--target/linux/s3c24xx/files-2.6.30/include/linux/glamofb.h16
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 47d41e6..7f137fe 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;