mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
ramips: remove port_power_off field from ehci_platform_data
It is removed in 3.8. Also add a revert patch for 3.7. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35799
This commit is contained in:
parent
5e1d6ce077
commit
275db5b4c4
@ -356,7 +356,6 @@ static void rt3352_usb_power_off(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
static struct usb_ehci_pdata rt3352_ehci_data = {
|
||||
.port_power_off = 1,
|
||||
.power_on = rt3352_usb_power_on,
|
||||
.power_off = rt3352_usb_power_off,
|
||||
};
|
||||
|
@ -177,7 +177,6 @@ static void rt3883_usb_power_off(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
static struct usb_ehci_pdata rt3883_ehci_data = {
|
||||
.port_power_off = 1,
|
||||
.power_on = rt3883_usb_power_on,
|
||||
.power_off = rt3883_usb_power_off,
|
||||
};
|
||||
|
@ -0,0 +1,22 @@
|
||||
reverted:
|
||||
--- a/arch/mips/ralink/rt3883/devices.c
|
||||
+++ b/arch/mips/ralink/rt3883/devices.c
|
||||
@@ -177,6 +177,7 @@
|
||||
}
|
||||
|
||||
static struct usb_ehci_pdata rt3883_ehci_data = {
|
||||
+ .port_power_off = 1,
|
||||
.power_on = rt3883_usb_power_on,
|
||||
.power_off = rt3883_usb_power_off,
|
||||
};
|
||||
reverted:
|
||||
--- b/arch/mips/ralink/rt305x/devices.c
|
||||
+++ a/arch/mips/ralink/rt305x/devices.c
|
||||
@@ -356,6 +356,7 @@
|
||||
}
|
||||
|
||||
static struct usb_ehci_pdata rt3352_ehci_data = {
|
||||
+ .port_power_off = 1,
|
||||
.power_on = rt3352_usb_power_on,
|
||||
.power_off = rt3352_usb_power_off,
|
||||
};
|
Loading…
Reference in New Issue
Block a user