mirror of https://gitee.com/openkylin/linux.git
staging: brcm80211: Remove OSL_DMADDRWIDTH
Signed-off-by: Brett Rudley <brudley@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b834517572
commit
954c7a6c96
|
@ -85,9 +85,6 @@ extern uint osl_dma_map(struct osl_info *osh, void *va, uint size,
|
|||
extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size,
|
||||
int direction);
|
||||
|
||||
/* API for DMA addressing capability */
|
||||
#define OSL_DMADDRWIDTH(osh, addrwidth) do {} while (0)
|
||||
|
||||
/* register access macros */
|
||||
#if defined(BCMSDIO)
|
||||
#ifdef BRCM_FULLMAC
|
||||
|
|
|
@ -588,7 +588,6 @@ static bool wlc_bmac_attach_dmapio(wlc_info_t *wlc, uint j, bool wme)
|
|||
*/
|
||||
addrwidth =
|
||||
dma_addrwidth(wlc_hw->sih, DMAREG(wlc_hw, DMA_TX, 0));
|
||||
OSL_DMADDRWIDTH(osh, addrwidth);
|
||||
|
||||
if (!wl_alloc_dma_resources(wlc_hw->wlc->wl, addrwidth)) {
|
||||
WL_ERROR(("wl%d: wlc_attach: alloc_dma_resources failed\n", unit));
|
||||
|
|
Loading…
Reference in New Issue