diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-vr1000.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-vr1000.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c index 61a1ea9c5c5c..1628cc773a2c 100644 --- a/arch/arm/mach-s3c2410/mach-vr1000.c +++ b/arch/arm/mach-s3c2410/mach-vr1000.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/list.h> | 18 | #include <linux/list.h> |
19 | #include <linux/timer.h> | 19 | #include <linux/timer.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/gpio.h> | ||
21 | #include <linux/dm9000.h> | 22 | #include <linux/dm9000.h> |
22 | #include <linux/i2c.h> | 23 | #include <linux/i2c.h> |
23 | 24 | ||
@@ -277,19 +278,19 @@ static struct platform_device vr1000_dm9k1 = { | |||
277 | 278 | ||
278 | static struct s3c24xx_led_platdata vr1000_led1_pdata = { | 279 | static struct s3c24xx_led_platdata vr1000_led1_pdata = { |
279 | .name = "led1", | 280 | .name = "led1", |
280 | .gpio = S3C2410_GPB0, | 281 | .gpio = S3C2410_GPB(0), |
281 | .def_trigger = "", | 282 | .def_trigger = "", |
282 | }; | 283 | }; |
283 | 284 | ||
284 | static struct s3c24xx_led_platdata vr1000_led2_pdata = { | 285 | static struct s3c24xx_led_platdata vr1000_led2_pdata = { |
285 | .name = "led2", | 286 | .name = "led2", |
286 | .gpio = S3C2410_GPB1, | 287 | .gpio = S3C2410_GPB(1), |
287 | .def_trigger = "", | 288 | .def_trigger = "", |
288 | }; | 289 | }; |
289 | 290 | ||
290 | static struct s3c24xx_led_platdata vr1000_led3_pdata = { | 291 | static struct s3c24xx_led_platdata vr1000_led3_pdata = { |
291 | .name = "led3", | 292 | .name = "led3", |
292 | .gpio = S3C2410_GPB2, | 293 | .gpio = S3C2410_GPB(2), |
293 | .def_trigger = "", | 294 | .def_trigger = "", |
294 | }; | 295 | }; |
295 | 296 | ||
@@ -355,8 +356,8 @@ static struct clk *vr1000_clocks[] __initdata = { | |||
355 | 356 | ||
356 | static void vr1000_power_off(void) | 357 | static void vr1000_power_off(void) |
357 | { | 358 | { |
358 | s3c2410_gpio_cfgpin(S3C2410_GPB9, S3C2410_GPB9_OUTP); | 359 | s3c2410_gpio_cfgpin(S3C2410_GPB(9), S3C2410_GPIO_OUTPUT); |
359 | s3c2410_gpio_setpin(S3C2410_GPB9, 1); | 360 | s3c2410_gpio_setpin(S3C2410_GPB(9), 1); |
360 | } | 361 | } |
361 | 362 | ||
362 | static void __init vr1000_map_io(void) | 363 | static void __init vr1000_map_io(void) |