[ARM] tegra: ventana: fix suspend build break
authorGary King <gking@nvidia.com>
Tue, 31 Aug 2010 19:05:31 +0000 (12:05 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:13 +0000 (16:28 -0700)
update the suspend platform data for ventana to match recent changes

Change-Id: I142123027453ee34f80c094fb7cf1fcb464e889d
Signed-off-by: Gary King <gking@nvidia.com>
arch/arm/mach-tegra/board-ventana-power.c

index 1ecaace26813cc99e3437e938010a07faa3bf793..5d998589eb1249f47c21604b681774a0c81949c4 100644 (file)
@@ -19,6 +19,8 @@
 #include <linux/regulator/machine.h>
 #include <linux/mfd/tps6586x.h>
 #include <linux/gpio.h>
+#include <mach/suspend.h>
+
 #include "power.h"
 #include "wakeups-t2.h"
 #include "board.h"
@@ -137,8 +139,7 @@ static struct i2c_board_info __initdata ventana_regulators[] = {
 static struct tegra_suspend_platform_data ventana_suspend_data = {
        .cpu_timer      = 2000,
        .cpu_off_timer  = 0,
-       .dram_suspend   = true,
-       .core_off       = false,
+       .suspend_mode   = TEGRA_SUSPEND_LP1,
        .core_timer     = 0x7e7e,
        .core_off_timer = 0,
        .separate_req   = true,