aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-08-10 11:37:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-08-10 11:37:25 +0000
commitb59ab7d13b0754db07bb7b4fb7026de963e8ef26 (patch)
tree3cab79fb092d8730e8429ead6262e776eb1f4be5 /target
parent0e40c19b45e2e93e738eab14313e296a7256fe99 (diff)
downloadupstream-b59ab7d13b0754db07bb7b4fb7026de963e8ef26.tar.gz
upstream-b59ab7d13b0754db07bb7b4fb7026de963e8ef26.tar.bz2
upstream-b59ab7d13b0754db07bb7b4fb7026de963e8ef26.zip
fix ehci build on 3.0+
SVN-Revision: 27946
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch b/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch
index 913bf36158..ef059f9b75 100644
--- a/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch
+++ b/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch
@@ -118,7 +118,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+ ehci->big_endian_desc = 0;
+ ehci->caps = hcd->regs;
+ ehci->regs = hcd->regs +
-+ HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
++ HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
+ ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
+ ehci->sbrn = 0x20;
+ ehci->ignore_oc = 1;
diff --git a/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch b/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch
index 62c39c3a0c..1564a46831 100644
--- a/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch
+++ b/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch
@@ -118,7 +118,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+ ehci->big_endian_desc = 0;
+ ehci->caps = hcd->regs;
+ ehci->regs = hcd->regs +
-+ HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
++ HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
+ ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
+ ehci->sbrn = 0x20;
+ ehci->ignore_oc = 1;