diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 18:14:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 18:14:00 +0200 |
commit | 63c422afe3739b68bec0b5c42807d1450c951caf (patch) | |
tree | 2cdbcbd4c6fcea69fbe0b164242336c38168f631 /include/asm-arm/arch-pxa/pxafb.h | |
parent | Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-serial (diff) | |
parent | [ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode sup... (diff) | |
download | linux-63c422afe3739b68bec0b5c42807d1450c951caf.tar.xz linux-63c422afe3739b68bec0b5c42807d1450c951caf.zip |
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode support
[ARM] 3880/1: remove the last trace of iop31x support
[ARM] 3879/1: ep93xx: instantiate platform devices for ep93xx ethernet
[ARM] 3809/3: get rid of 4 megabyte kernel image size limit
[ARM] Fix XIP_KERNEL build error in arch/arm/mm/mmu.c
[ARM] 3874/1: Remove leftover usage of asm/timeofday.h
Diffstat (limited to 'include/asm-arm/arch-pxa/pxafb.h')
-rw-r--r-- | include/asm-arm/arch-pxa/pxafb.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/asm-arm/arch-pxa/pxafb.h b/include/asm-arm/arch-pxa/pxafb.h index aba9b30f4249..81c3928d608c 100644 --- a/include/asm-arm/arch-pxa/pxafb.h +++ b/include/asm-arm/arch-pxa/pxafb.h @@ -12,12 +12,14 @@ * published by the Free Software Foundation. */ +#include <linux/fb.h> + /* * This structure describes the machine which we are running on. * It is set in linux/arch/arm/mach-pxa/machine_name.c and used in the probe routine * of linux/drivers/video/pxafb.c */ -struct pxafb_mach_info { +struct pxafb_mode_info { u_long pixclock; u_short xres; @@ -34,6 +36,14 @@ struct pxafb_mach_info { u_char sync; u_int cmap_greyscale:1, + unused:31; +}; + +struct pxafb_mach_info { + struct pxafb_mode_info *modes; + unsigned int num_modes; + + u_int fixed_modes:1, cmap_inverse:1, cmap_static:1, unused:29; @@ -62,7 +72,7 @@ struct pxafb_mach_info { u_int lccr3; void (*pxafb_backlight_power)(int); - void (*pxafb_lcd_power)(int); + void (*pxafb_lcd_power)(int, struct fb_var_screeninfo *); }; void set_pxa_fb_info(struct pxafb_mach_info *hard_pxa_fb_info); |