From: Rafał Miłecki Date: Wed, 20 Jul 2011 17:52:16 +0000 (+0200) Subject: b43: bcma: get DMA translation bits X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eb90e9e85c36dd2dd730d2eacec74db84491033d;p=linux-beck.git b43: bcma: get DMA translation bits Signed-off-by: Rafał Miłecki Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c index efff2419388d..0953ce1ac1b0 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);