summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-07-20 17:52:16 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-07-22 13:51:13 (GMT)
commiteb90e9e85c36dd2dd730d2eacec74db84491033d (patch)
tree92bc806d9b3a3707cb67445f6f98f8ad71f5bfcf /drivers
parent05aec233367262a43dbf0b615099757162e36f88 (diff)
downloadlinux-fsl-qoriq-eb90e9e85c36dd2dd730d2eacec74db84491033d.tar.xz
b43: bcma: get DMA translation bits
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/b43/dma.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c
index efff241..0953ce1 100644
--- a/drivers/net/wireless/b43/dma.c
+++ b/drivers/net/wireless/b43/dma.c
@@ -1066,6 +1066,11 @@ int b43_dma_init(struct b43_wldev *dev)
return err;
switch (dev->dev->bus_type) {
+#ifdef CONFIG_B43_BCMA
+ case B43_BUS_BCMA:
+ dma->translation = bcma_core_dma_translation(dev->dev->bdev);
+ break;
+#endif
#ifdef CONFIG_B43_SSB
case B43_BUS_SSB:
dma->translation = ssb_dma_translation(dev->dev->sdev);