diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/pm.c')
-rw-r--r-- | arch/arm/mach-s3c2410/pm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/pm.c b/arch/arm/mach-s3c2410/pm.c index 87fc481d92d4..143e08a599d4 100644 --- a/arch/arm/mach-s3c2410/pm.c +++ b/arch/arm/mach-s3c2410/pm.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/errno.h> | 25 | #include <linux/errno.h> |
26 | #include <linux/time.h> | 26 | #include <linux/time.h> |
27 | #include <linux/sysdev.h> | 27 | #include <linux/sysdev.h> |
28 | #include <linux/gpio.h> | ||
28 | #include <linux/io.h> | 29 | #include <linux/io.h> |
29 | 30 | ||
30 | #include <mach/hardware.h> | 31 | #include <mach/hardware.h> |
@@ -76,7 +77,7 @@ static void s3c2410_pm_prepare(void) | |||
76 | } | 77 | } |
77 | 78 | ||
78 | if ( machine_is_aml_m5900() ) | 79 | if ( machine_is_aml_m5900() ) |
79 | s3c2410_gpio_setpin(S3C2410_GPF2, 1); | 80 | s3c2410_gpio_setpin(S3C2410_GPF(2), 1); |
80 | 81 | ||
81 | } | 82 | } |
82 | 83 | ||
@@ -91,7 +92,7 @@ static int s3c2410_pm_resume(struct sys_device *dev) | |||
91 | __raw_writel(tmp, S3C2410_GSTATUS2); | 92 | __raw_writel(tmp, S3C2410_GSTATUS2); |
92 | 93 | ||
93 | if ( machine_is_aml_m5900() ) | 94 | if ( machine_is_aml_m5900() ) |
94 | s3c2410_gpio_setpin(S3C2410_GPF2, 0); | 95 | s3c2410_gpio_setpin(S3C2410_GPF(2), 0); |
95 | 96 | ||
96 | return 0; | 97 | return 0; |
97 | } | 98 | } |