From c5df4022b61a64bdb4f4d7e6c842d534923b0545 Mon Sep 17 00:00:00 2001 From: Sylwester Nawrocki Date: Fri, 13 Jul 2012 18:04:50 +0900 Subject: [PATCH] --- yaml --- r: 313115 b: refs/heads/master c: 5c9fb56b456eb4ebb82adfcad2edeb3c4821925a h: refs/heads/master i: 313113: a557c2cd50111320f18e9ec038f931c114a9fb40 313111: 6e1aeb1b85bd5528cef98283f404e858a1e75143 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-s3c24xx/mach-qt2410.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 1cab728d44a3..ead006eca4cc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff40b4b154415eceb54daae989f5459ed74d0ca2 +refs/heads/master: 5c9fb56b456eb4ebb82adfcad2edeb3c4821925a diff --git a/trunk/arch/arm/mach-s3c24xx/mach-qt2410.c b/trunk/arch/arm/mach-s3c24xx/mach-qt2410.c index b868dddcb836..678bbca2b5e5 100644 --- a/trunk/arch/arm/mach-s3c24xx/mach-qt2410.c +++ b/trunk/arch/arm/mach-s3c24xx/mach-qt2410.c @@ -47,7 +47,6 @@ #include #include -#include #include #include #include @@ -325,8 +324,9 @@ static void __init qt2410_machine_init(void) } s3c24xx_fb_set_platdata(&qt2410_fb_info); - s3c_gpio_cfgpin(S3C2410_GPB(0), S3C2410_GPIO_OUTPUT); - s3c2410_gpio_setpin(S3C2410_GPB(0), 1); + /* set initial state of the LED GPIO */ + WARN_ON(gpio_request_one(S3C2410_GPB(0), GPIOF_OUT_INIT_HIGH, NULL)); + gpio_free(S3C2410_GPB(0)); s3c24xx_udc_set_platdata(&qt2410_udc_cfg); s3c_i2c0_set_platdata(NULL);