diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-07-30 15:08:05 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-07-30 15:08:05 +0000 |
commit | ac9b2450ad426ab0a9087e2f4dbe8b10a97b7287 (patch) | |
tree | 559918367851d193ba7e0bc123f72be9bb3362da /target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c | |
parent | e5ade3d31dfa8a7666f8caaf6f823c485d5f43ba (diff) | |
download | master-187ad058-ac9b2450ad426ab0a9087e2f4dbe8b10a97b7287.tar.gz master-187ad058-ac9b2450ad426ab0a9087e2f4dbe8b10a97b7287.tar.bz2 master-187ad058-ac9b2450ad426ab0a9087e2f4dbe8b10a97b7287.zip |
[s3c24xx] Get rid of gpio shadowing.
I fail really to see why this would be necessary here. So get rid of it and see if
anything breaks...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17052 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c')
-rw-r--r-- | target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c b/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c index 653a9fb287..e560ab76c3 100644 --- a/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c +++ b/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c @@ -52,14 +52,14 @@ int gta02_vibrator_fiq_handler(void) return 0; if ((u8)gta02_vib_priv.fiq_count == gta02_vib_priv.vib_pwm_latched) - gta02_gpb_setpin(gta02_vib_priv.vib_gpio_pin, 0); + s3c2410_gpio_setpin(gta02_vib_priv.vib_gpio_pin, 0); if ((u8)gta02_vib_priv.fiq_count) return 1; gta02_vib_priv.vib_pwm_latched = gta02_vib_priv.vib_pwm; if (gta02_vib_priv.vib_pwm_latched) - gta02_gpb_setpin(gta02_vib_priv.vib_gpio_pin, 1); + s3c2410_gpio_setpin(gta02_vib_priv.vib_gpio_pin, 1); return 1; } @@ -139,7 +139,7 @@ static int __init gta02_vib_probe(struct platform_device *pdev) gta02_vib_priv.pdata = pdev->dev.platform_data; platform_set_drvdata(pdev, >a02_vib_led); - gta02_gpb_setpin(gta02_vib_led.gpio, 0); /* off */ + s3c2410_gpio_setpin(gta02_vib_led.gpio, 0); /* off */ s3c2410_gpio_cfgpin(gta02_vib_led.gpio, S3C2410_GPIO_OUTPUT); /* safe, kmalloc'd copy needed for FIQ ISR */ gta02_vib_priv.vib_gpio_pin = gta02_vib_led.gpio; |