summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-27 13:52:14 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-27 13:52:14 +0000
commitedf4ec42fabd19cf92766af05efc94292255dc07 (patch)
tree8ee6b9df673a471c274c458430e93f2248efe67e /target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch
parent199b50af2c09405f01645767b4759c8b7eaaa033 (diff)
[brcm47xx] remove deprecated warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17761 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch b/target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch
index 50dcd5718e..9627798472 100644
--- a/target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch
+++ b/target/linux/brcm47xx/patches-2.6.31/260-ohci-set-dma-mask.patch
@@ -8,7 +8,7 @@
int err = -ENOMEM;
u32 tmp, flags = 0;
-+ if (ssb_dma_set_mask(dev, DMA_32BIT_MASK))
++ if (ssb_dma_set_mask(dev, DMA_BIT_MASK(32)))
+ return -EOPNOTSUPP;
+
if (dev->id.coreid == SSB_DEV_USB11_HOSTDEV) {