]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP1: Misc clean-up to sync up with mainline
authorTony Lindgren <tony@atomide.com>
Tue, 18 Dec 2007 04:55:55 +0000 (20:55 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 18 Dec 2007 04:55:55 +0000 (20:55 -0800)
Remove board-generic MMC configuration as it's unknown.
Clean-up pm.c.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-generic.c
arch/arm/mach-omap1/pm.c

index 54a430fd90d700c16a6753b2d8a53b5a70c5059d..c711bf23f7b416f5facacc8841dd42b92cdbda6d 100644 (file)
@@ -57,30 +57,12 @@ static struct omap_usb_config generic1610_usb_config __initdata = {
 };
 #endif
 
-static struct omap_mmc_config generic_mmc_config __initdata = {
-       .mmc [0] = {
-               .enabled        = 0,
-               .wire4          = 0,
-               .wp_pin         = -1,
-               .power_pin      = -1,
-               .switch_pin     = -1,
-       },
-       .mmc [1] = {
-               .enabled        = 0,
-               .wire4          = 0,
-               .wp_pin         = -1,
-               .power_pin      = -1,
-               .switch_pin     = -1,
-       },
-};
-
 static struct omap_uart_config generic_uart_config __initdata = {
        .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)),
 };
 
 static struct omap_board_config_kernel generic_config[] __initdata = {
        { OMAP_TAG_USB,         NULL },
-       { OMAP_TAG_MMC,         &generic_mmc_config },
        { OMAP_TAG_UART,        &generic_uart_config },
 };
 
index c5a89cde41561c55eb9dc5f3f33c7c12babc95d8..4da18b869d60b213cd01fbfcfa3faa0a3b243b17 100644 (file)
@@ -100,7 +100,7 @@ static struct subsys_attribute sleep_while_idle_attr = {
 
 #endif
 
-static void (*omap_sram_idle)(void) = NULL;
+extern struct kset power_subsys;
 static void (*omap_sram_suspend)(unsigned long r0, unsigned long r1) = NULL;
 
 /*