Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / arch / arm / mach-omap1 / board-ams-delta.c
index 8437d06..6178f04 100644 (file)
@@ -80,24 +80,8 @@ static struct omap_uart_config ams_delta_uart_config __initdata = {
        .enabled_uarts = 1,
 };
 
-static struct omap_usb_config ams_delta_usb_config __initdata = {
-       .register_host  = 1,
-       .hmc_mode       = 16,
-       .pins[0]        = 2,
-};
-
 static struct omap_board_config_kernel ams_delta_config[] = {
        { OMAP_TAG_UART,        &ams_delta_uart_config },
-       { OMAP_TAG_USB,         &ams_delta_usb_config },
-};
-
-static struct platform_device ams_delta_led_device = {
-       .name   = "ams-delta-led",
-       .id     = -1
-};
-
-static struct platform_device *ams_delta_devices[] __initdata = {
-       &ams_delta_led_device,
 };
 
 static void __init ams_delta_init(void)
@@ -110,8 +94,6 @@ static void __init ams_delta_init(void)
 
        /* Clear latch2 (NAND, LCD, modem enable) */
        ams_delta_latch2_write(~0, 0);
-
-       platform_add_devices(ams_delta_devices, ARRAY_SIZE(ams_delta_devices));
 }
 
 static void __init ams_delta_map_io(void)