4 * (c) 2005 Ian Molton <spyro@f2s.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
12 #include <linux/kernel.h>
13 #include <linux/init.h>
14 #include <linux/module.h>
16 #include <asm/mach-types.h>
17 #include <asm/arch/pxa-regs.h>
18 #include <asm/arch/pxafb.h>
20 static struct pxafb_mode_info e400_pxafb_mode_info = {
34 static struct pxafb_mach_info e400_pxafb_mach_info = {
35 .modes = &e400_pxafb_mode_info,
37 .lccr0 = LCCR0_Color | LCCR0_Sngl | LCCR0_Act,
39 .pxafb_backlight_power = NULL,
42 static int __init e400_lcd_init(void)
44 if (!machine_is_e400())
47 set_pxa_fb_info(&e400_pxafb_mach_info);
51 module_init(e400_lcd_init);
53 MODULE_AUTHOR("Ian Molton <spyro@f2s.com>");
54 MODULE_DESCRIPTION("e400 lcd driver");
55 MODULE_LICENSE("GPLv2");