aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/board-h2.c2
-rw-r--r--arch/arm/mach-omap1/pm.c11
2 files changed, 2 insertions, 11 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c
index ad519390dd58..48c8c9195dc3 100644
--- a/arch/arm/mach-omap1/board-h2.c
+++ b/arch/arm/mach-omap1/board-h2.c
@@ -326,7 +326,7 @@ static struct omap_lcd_config h2_lcd_config __initdata = {
326 .ctrl_name = "internal", 326 .ctrl_name = "internal",
327}; 327};
328 328
329static struct omap_board_config_kernel h2_config[] = { 329static struct omap_board_config_kernel h2_config[] __initdata = {
330 { OMAP_TAG_USB, &h2_usb_config }, 330 { OMAP_TAG_USB, &h2_usb_config },
331 { OMAP_TAG_MMC, &h2_mmc_config }, 331 { OMAP_TAG_MMC, &h2_mmc_config },
332 { OMAP_TAG_UART, &h2_uart_config }, 332 { OMAP_TAG_UART, &h2_uart_config },
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 6f4ea4bda5e0..8caee68aa090 100644
--- a/arch/arm/mach-omap1/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -1,4 +1,3 @@
1//kernel/linux-omap-fsample/arch/arm/mach-omap1/pm.c#3 - integrate change 4545 (text)
2/* 1/*
3 * linux/arch/arm/mach-omap1/pm.c 2 * linux/arch/arm/mach-omap1/pm.c
4 * 3 *
@@ -377,7 +376,7 @@ void omap_pm_suspend(void)
377 * Jump to assembly code. The processor will stay there 376 * Jump to assembly code. The processor will stay there
378 * until wake up. 377 * until wake up.
379 */ 378 */
380 omap_sram_suspend(arg0, arg1); 379 omap_sram_suspend(arg0, arg1);
381 380
382 /* 381 /*
383 * If we are here, processor is woken up! 382 * If we are here, processor is woken up!
@@ -631,10 +630,6 @@ static int omap_pm_prepare(suspend_state_t state)
631 case PM_SUSPEND_STANDBY: 630 case PM_SUSPEND_STANDBY:
632 case PM_SUSPEND_MEM: 631 case PM_SUSPEND_MEM:
633 break; 632 break;
634
635 case PM_SUSPEND_DISK:
636 return -ENOTSUPP;
637
638 default: 633 default:
639 return -EINVAL; 634 return -EINVAL;
640 } 635 }
@@ -657,10 +652,6 @@ static int omap_pm_enter(suspend_state_t state)
657 case PM_SUSPEND_MEM: 652 case PM_SUSPEND_MEM:
658 omap_pm_suspend(); 653 omap_pm_suspend();
659 break; 654 break;
660
661 case PM_SUSPEND_DISK:
662 return -ENOTSUPP;
663
664 default: 655 default:
665 return -EINVAL; 656 return -EINVAL;
666 } 657 }