ramips: properly setup the FEATURES variable
[openwrt.git] / target / linux / ramips / patches-3.7 / a01-revert-ehci-port_power_off-removal.patch
1 reverted:
2 --- a/arch/mips/ralink/rt3883/devices.c
3 +++ b/arch/mips/ralink/rt3883/devices.c
4 @@ -177,6 +177,7 @@ static void rt3883_usb_power_off(struct
5  }
6  
7  static struct usb_ehci_pdata rt3883_ehci_data = {
8 +       .port_power_off = 1,
9         .power_on       = rt3883_usb_power_on,
10         .power_off      = rt3883_usb_power_off,
11  };
12 --- a/arch/mips/ralink/rt305x/devices.c
13 +++ b/arch/mips/ralink/rt305x/devices.c
14 @@ -356,6 +356,7 @@ static void rt3352_usb_power_off(struct
15  }
16  
17  static struct usb_ehci_pdata rt3352_ehci_data = {
18 +       .port_power_off = 1,
19         .power_on       = rt3352_usb_power_on,
20         .power_off      = rt3352_usb_power_off,
21  };