]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-n800-camera.c
use gpio_direction_output (OMAP tree only)
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-n800-camera.c
index 2dd1138cb882bfcc83b72efc96e5a0b33946e760..1f3b1e9f2b60f8ea012c0e73c1cd8fab726943c1 100644 (file)
@@ -363,8 +363,7 @@ void __init n800_cam_init(void)
                return;
        }
 
-       gpio_set_value(N800_CAM_SENSOR_RESET_GPIO, 0);
-       omap_set_gpio_direction(N800_CAM_SENSOR_RESET_GPIO, 0);
+       gpio_direction_output(N800_CAM_SENSOR_RESET_GPIO, 0);
 
        sensor_okay = 1;
 }