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 65bf3d610a4cce1a2a703c37fb55682aa51a5105..30595bf3ccbd1ff9ff28dbd063b7b6702c28fbcd 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;