X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fs3c24xx%2Ffiles-2.6.30%2Fdrivers%2Fleds%2Fleds-gta02.c;h=48559b1136a055d3ca23bbc886fde88aaa772f81;hp=1d65eeaf303a9f29fcd7c80bfe9c9e0a51718a5f;hb=d6694fb05efb76fcc931bd1588facd28073fcaf0;hpb=5c0a059eb9effd5ccaad4a9f904ee4bafba14885 diff --git a/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02.c b/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02.c index 1d65eeaf3..48559b113 100644 --- a/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02.c +++ b/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02.c @@ -19,7 +19,6 @@ #include #include #include -#include #define MAX_LEDS 3 #define COUNTER 256 @@ -54,7 +53,7 @@ static void gta02led_set(struct led_classdev *led_cdev, struct gta02_led_priv *lp = to_priv(led_cdev); spin_lock_irqsave(&lp->lock, flags); - gta02_gpb_setpin(lp->gpio, value ? 1 : 0); + s3c2410_gpio_setpin(lp->gpio, value ? 1 : 0); spin_unlock_irqrestore(&lp->lock, flags); } @@ -117,7 +116,6 @@ static int __init gta02led_probe(struct platform_device *pdev) case S3C2410_GPB1: case S3C2410_GPB2: s3c2410_gpio_cfgpin(lp->gpio, S3C2410_GPIO_OUTPUT); - gta02_gpb_add_shadow_gpio(lp->gpio); break; default: break;