Changeset 27739


Ignore:
Timestamp:
2011-07-24T10:02:20+02:00 (5 years ago)
Author:
nbd
Message:

ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-ag300h.c

    r27320 r27739  
    1616#include <asm/mips_machine.h> 
    1717#include <asm/mach-ar71xx/ar71xx.h> 
     18#include <asm/mach-ar71xx/gpio.h> 
    1819 
    1920#include "machtype.h" 
     
    208209 
    209210        ar71xx_add_device_usb(); 
     211        gpio_request(2, "usb"); 
     212        gpio_direction_output(2, 1); 
    210213 
    211214        ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(wzrhpag300h_leds_gpio), 
Note: See TracChangeset for help on using the changeset viewer.