diff options
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-nexcoder.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c2440/mach-nexcoder.c b/arch/arm/mach-s3c2440/mach-nexcoder.c index 7aeaa972d7f5..3d4c61e1fa49 100644 --- a/arch/arm/mach-s3c2440/mach-nexcoder.c +++ b/arch/arm/mach-s3c2440/mach-nexcoder.c | |||
@@ -121,15 +121,15 @@ static void __init nexcoder_sensorboard_init(void) | |||
121 | { | 121 | { |
122 | // Initialize SCCB bus | 122 | // Initialize SCCB bus |
123 | s3c2410_gpio_setpin(S3C2410_GPE14, 1); // IICSCL | 123 | s3c2410_gpio_setpin(S3C2410_GPE14, 1); // IICSCL |
124 | s3c2410_gpio_cfgpin(S3C2410_GPE14, S3C2410_GPE14_OUTP); | 124 | s3c2410_gpio_cfgpin(S3C2410_GPE14, S3C2410_GPIO_OUTPUT); |
125 | s3c2410_gpio_setpin(S3C2410_GPE15, 1); // IICSDA | 125 | s3c2410_gpio_setpin(S3C2410_GPE15, 1); // IICSDA |
126 | s3c2410_gpio_cfgpin(S3C2410_GPE15, S3C2410_GPE15_OUTP); | 126 | s3c2410_gpio_cfgpin(S3C2410_GPE15, S3C2410_GPIO_OUTPUT); |
127 | 127 | ||
128 | // Power up the sensor board | 128 | // Power up the sensor board |
129 | s3c2410_gpio_setpin(S3C2410_GPF1, 1); | 129 | s3c2410_gpio_setpin(S3C2410_GPF1, 1); |
130 | s3c2410_gpio_cfgpin(S3C2410_GPF1, S3C2410_GPF1_OUTP); // CAM_GPIO7 => nLDO_PWRDN | 130 | s3c2410_gpio_cfgpin(S3C2410_GPF1, S3C2410_GPIO_OUTPUT); // CAM_GPIO7 => nLDO_PWRDN |
131 | s3c2410_gpio_setpin(S3C2410_GPF2, 0); | 131 | s3c2410_gpio_setpin(S3C2410_GPF2, 0); |
132 | s3c2410_gpio_cfgpin(S3C2410_GPF2, S3C2410_GPF2_OUTP); // CAM_GPIO6 => CAM_PWRDN | 132 | s3c2410_gpio_cfgpin(S3C2410_GPF2, S3C2410_GPIO_OUTPUT); // CAM_GPIO6 => CAM_PWRDN |
133 | } | 133 | } |
134 | 134 | ||
135 | static void __init nexcoder_map_io(void) | 135 | static void __init nexcoder_map_io(void) |
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index c8a46685ce38..e05f9557ed56 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
@@ -292,7 +292,7 @@ static int osiris_pm_suspend(struct sys_device *sd, pm_message_t state) | |||
292 | 292 | ||
293 | /* ensure that an nRESET is not generated on resume. */ | 293 | /* ensure that an nRESET is not generated on resume. */ |
294 | s3c2410_gpio_setpin(S3C2410_GPA21, 1); | 294 | s3c2410_gpio_setpin(S3C2410_GPA21, 1); |
295 | s3c2410_gpio_cfgpin(S3C2410_GPA21, S3C2410_GPA21_OUT); | 295 | s3c2410_gpio_cfgpin(S3C2410_GPA21, S3C2410_GPIO_OUTPUT); |
296 | 296 | ||
297 | return 0; | 297 | return 0; |
298 | } | 298 | } |