2 * (c) 2005 Ian Molton <spyro@f2s.com>
5 #include <linux/kernel.h>
6 #include <linux/init.h>
7 #include <linux/module.h>
9 #include <asm/mach-types.h>
10 #include <asm/arch/pxa-regs.h>
11 #include <asm/arch/pxafb.h>
13 static struct pxafb_mode_info e400_pxafb_mode_info __initdata
= {
27 static struct pxafb_mach_info e400_pxafb_mach_info __initdata
= {
28 .modes
= &e400_pxafb_mode_info
,
30 .lccr0
= LCCR0_Color
| LCCR0_Sngl
| LCCR0_Act
,
32 .pxafb_backlight_power
= NULL
,
35 static int __init
e400_lcd_init( void )
37 if(!machine_is_e400())
40 set_pxa_fb_info(&e400_pxafb_mach_info
);
44 module_init(e400_lcd_init
);
46 MODULE_AUTHOR("Ian Molton <spyro@f2s.com>");
47 MODULE_DESCRIPTION("e400 lcd driver");
48 MODULE_LICENSE("GPLv2");