]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/omap/lcd_omap3beagle.c
ARM: OMAP: Switch OMAP LCD panels to use gpio_request/free calls
[linux-2.6-omap-h63xx.git] / drivers / video / omap / lcd_omap3beagle.c
index 0c779e40d5edd218129a8f959c000ce6d7fb2476..eae43e4c2650c4d7414c6104c54688d850376136 100644 (file)
@@ -22,9 +22,9 @@
 
 #include <linux/module.h>
 #include <linux/platform_device.h>
+#include <linux/gpio.h>
 #include <linux/i2c/twl4030.h>
 
-#include <mach/gpio.h>
 #include <mach/mux.h>
 #include <mach/omapfb.h>
 #include <asm/mach-types.h>
@@ -38,7 +38,7 @@
 static int omap3beagle_panel_init(struct lcd_panel *panel,
                                struct omapfb_device *fbdev)
 {
-       omap_request_gpio(LCD_PANEL_ENABLE_GPIO);
+       gpio_request(LCD_PANEL_ENABLE_GPIO, "LCD enable");
        return 0;
 }