Blackfin arch: add volatile markings to DMA MMRs
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 7 Jan 2009 15:14:38 +0000 (23:14 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 7 Jan 2009 15:14:38 +0000 (23:14 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/dma.h

index 65bf3d6..30595bf 100644 (file)
@@ -109,7 +109,7 @@ struct dma_channel {
        struct mutex dmalock;
        const char *device_id;
        enum dma_chan_status chan_status;
-       struct dma_register *regs;
+       volatile struct dma_register *regs;
        struct dmasg *sg;               /* large mode descriptor */
        unsigned int irq;
        void *data;