]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap1/board-palmte.c
Pull netlink into release branch
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap1 / board-palmte.c
index e488f723677546059707e70df696eb9321104f76..015824185629104307e65f1360c102ec797e23e5 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Original version : Laurent Gonzalez
  *
- * Maintainters : http://palmtelinux.sf.net
+ * Maintainers : http://palmtelinux.sf.net
  *                palmtelinux-developpers@lists.sf.net
  *
  * This program is free software; you can redistribute it and/or modify
@@ -38,6 +38,15 @@ static void __init omap_generic_init_irq(void)
        omap_init_irq();
 }
 
+static struct platform_device palmte_lcd_device = {
+       .name           = "lcd_palmte",
+       .id             = -1,
+};
+
+static struct platform_device *devices[] __initdata = {
+       &palmte_lcd_device,
+};
+
 static struct omap_usb_config palmte_usb_config __initdata = {
        .register_dev   = 1,
        .hmc_mode       = 0,
@@ -55,7 +64,6 @@ static struct omap_mmc_config palmte_mmc_config __initdata = {
 };
 
 static struct omap_lcd_config palmte_lcd_config __initdata = {
-       .panel_name     = "palmte",
        .ctrl_name      = "internal",
 };
 
@@ -69,6 +77,8 @@ static void __init omap_generic_init(void)
 {
        omap_board_config = palmte_config;
        omap_board_config_size = ARRAY_SIZE(palmte_config);
+
+       platform_add_devices(devices, ARRAY_SIZE(devices));
 }
 
 static void __init omap_generic_map_io(void)