diff options
author | Ira Snyder <iws@ovro.caltech.edu> | 2010-01-06 14:34:03 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-02-02 22:51:41 +0100 |
commit | e7a29151de1bd52081f27f149b68074fac0323be (patch) | |
tree | 72fa616e49d5ca99e0a1dc79f467e73d071d5dd9 /drivers/dma/fsldma.h | |
parent | fsldma: rename dest to dst for uniformity (diff) | |
download | linux-e7a29151de1bd52081f27f149b68074fac0323be.tar.xz linux-e7a29151de1bd52081f27f149b68074fac0323be.zip |
fsldma: clean up the OF subsystem routines
This fixes some errors in the cleanup paths of the OF subsystem, including
missing checks for ioremap failing. Also, some variables were renamed for
brevity.
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/fsldma.h')
-rw-r--r-- | drivers/dma/fsldma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/fsldma.h b/drivers/dma/fsldma.h index a67b8e3df0fa..ea3b19c8708c 100644 --- a/drivers/dma/fsldma.h +++ b/drivers/dma/fsldma.h @@ -108,7 +108,7 @@ struct fsldma_chan; #define FSL_DMA_MAX_CHANS_PER_DEVICE 4 struct fsldma_device { - void __iomem *reg_base; /* DGSR register base */ + void __iomem *regs; /* DGSR register base */ struct device *dev; struct dma_device common; struct fsldma_chan *chan[FSL_DMA_MAX_CHANS_PER_DEVICE]; @@ -128,7 +128,7 @@ struct fsldma_device { #define FSL_DMA_CHAN_START_EXT 0x00002000 struct fsldma_chan { - struct fsldma_chan_regs __iomem *reg_base; + struct fsldma_chan_regs __iomem *regs; dma_cookie_t completed_cookie; /* The maximum cookie completed */ spinlock_t desc_lock; /* Descriptor operation lock */ struct list_head ld_queue; /* Link descriptors queue */ |