From f2a1c2b6a2226183d0f036c98c9fdc20fa69592e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 27 Jul 2015 20:45:22 +0200 Subject: [PATCH] dma: rename dma_ops to avoid conflict with arch headers Signed-off-by: Felix Fietkau --- dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dma.c b/dma.c index a498e2c7..141a17b1 100644 --- a/dma.c +++ b/dma.c @@ -545,7 +545,7 @@ mt76_rx_tasklet(unsigned long data) mt76_irq_enable(dev, MT_INT_RX_DONE(1)); } -static const struct mt76_dma_ops dma_ops = { +static const struct mt76_dma_ops mt76x2_dma_ops = { .queue_skb = mt76_dma_tx_queue_skb, .queue_mcu = mt76_dma_tx_queue_mcu, .cleanup_idx = mt76_dma_tx_cleanup_idx, @@ -563,7 +563,7 @@ int mt76_dma_init(struct mt76_dev *dev) int ret; int i; - dev->dma_ops = &dma_ops; + dev->dma_ops = &mt76x2_dma_ops; init_waitqueue_head(&dev->mcu.wait); skb_queue_head_init(&dev->mcu.res_q);