diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-n30.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-n30.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c index 684710f88142..75a9fd37a467 100644 --- a/arch/arm/mach-s3c2410/mach-n30.c +++ b/arch/arm/mach-s3c2410/mach-n30.c | |||
@@ -86,10 +86,10 @@ static void n30_udc_pullup(enum s3c2410_udc_cmd_e cmd) | |||
86 | { | 86 | { |
87 | switch (cmd) { | 87 | switch (cmd) { |
88 | case S3C2410_UDC_P_ENABLE : | 88 | case S3C2410_UDC_P_ENABLE : |
89 | s3c2410_gpio_setpin(S3C2410_GPB(3), 1); | 89 | gpio_set_value(S3C2410_GPB(3), 1); |
90 | break; | 90 | break; |
91 | case S3C2410_UDC_P_DISABLE : | 91 | case S3C2410_UDC_P_DISABLE : |
92 | s3c2410_gpio_setpin(S3C2410_GPB(3), 0); | 92 | gpio_set_value(S3C2410_GPB(3), 0); |
93 | break; | 93 | break; |
94 | case S3C2410_UDC_P_RESET : | 94 | case S3C2410_UDC_P_RESET : |
95 | break; | 95 | break; |
@@ -536,6 +536,9 @@ static void __init n30_init(void) | |||
536 | 536 | ||
537 | platform_add_devices(n35_devices, ARRAY_SIZE(n35_devices)); | 537 | platform_add_devices(n35_devices, ARRAY_SIZE(n35_devices)); |
538 | } | 538 | } |
539 | |||
540 | WARN_ON(gpio_request(S3C2410_GPB(3), "udc pup")); | ||
541 | gpio_direction_output(S3C2410_GPB(3), 0); | ||
539 | } | 542 | } |
540 | 543 | ||
541 | MACHINE_START(N30, "Acer-N30") | 544 | MACHINE_START(N30, "Acer-N30") |