]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/musb/musbhsdma.c
USB: MUSB: sparse fixes to musb_hdrc driver
[linux-2.6-omap-h63xx.git] / drivers / usb / musb / musbhsdma.c
index 75f084f0341c49a08180d2951d169a9c541f10c5..32bb1e2d8748566f042bf54d3cf27c55d1c275dd 100644 (file)
@@ -172,7 +172,7 @@ static void configure_channel(struct dma_channel *pChannel,
        struct musb_dma_channel *pImplChannel =
                (struct musb_dma_channel *) pChannel->private_data;
        struct musb_dma_controller *controller = pImplChannel->controller;
-       u8 *mbase = controller->pCoreBase;
+       void __iomem *mbase = controller->pCoreBase;
        u8 bChannel = pImplChannel->bIndex;
        u16 csr = 0;
 
@@ -250,7 +250,7 @@ static int dma_channel_abort(struct dma_channel *pChannel)
        struct musb_dma_channel *pImplChannel =
                (struct musb_dma_channel *) pChannel->private_data;
        u8 bChannel = pImplChannel->bIndex;
-       u8 *mbase = pImplChannel->controller->pCoreBase;
+       void __iomem *mbase = pImplChannel->controller->pCoreBase;
        u16 csr;
 
        if (pChannel->status == MUSB_DMA_STATUS_BUSY) {
@@ -296,7 +296,7 @@ static irqreturn_t dma_controller_irq(int irq, void *private_data)
                (struct musb_dma_controller *)private_data;
        struct musb_dma_channel *pImplChannel;
        struct musb *musb = controller->pDmaPrivate;
-       u8 *mbase = controller->pCoreBase;
+       void __iomem *mbase = controller->pCoreBase;
        struct dma_channel *pChannel;
        u8 bChannel;
        u16 csr;