]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/bluetooth/brf6150.c
use gpio_direction_input (OMAP tree only)
[linux-2.6-omap-h63xx.git] / drivers / bluetooth / brf6150.c
index b87955630b7ff4d3a97a154335ebaf4a2602f51d..baddb8a6357aa93dac278d2bc4f019bd20665d26 100644 (file)
@@ -945,7 +945,7 @@ static int __init brf6150_init(void)
 
        omap_set_gpio_direction(info->btinfo->reset_gpio, 0);
        omap_set_gpio_direction(info->btinfo->bt_wakeup_gpio, 0);
-       omap_set_gpio_direction(info->btinfo->host_wakeup_gpio, 1);
+       gpio_direction_input(info->btinfo->host_wakeup_gpio);
        set_irq_type(OMAP_GPIO_IRQ(info->btinfo->host_wakeup_gpio), IRQ_TYPE_NONE);
 
        switch (info->btinfo->bt_uart) {