diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-12-10 12:35:07 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-11 01:32:09 -0500 |
commit | 86d61b33e48f1da5a6b310d3de93187db62ab72a (patch) | |
tree | 9d82b881df70b3832111c9f79da69fcb60aa079b /drivers/dma/shdma.h | |
parent | cfe4f2751ef1a5390b56c5d263f90b6ff138ba31 (diff) |
sh: stylistic improvements for the DMA driver
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/shdma.h')
-rw-r--r-- | drivers/dma/shdma.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/dma/shdma.h b/drivers/dma/shdma.h index 2b4bc15a2c0a..60b81e529b42 100644 --- a/drivers/dma/shdma.h +++ b/drivers/dma/shdma.h | |||
@@ -35,15 +35,15 @@ struct sh_desc { | |||
35 | 35 | ||
36 | struct sh_dmae_chan { | 36 | struct sh_dmae_chan { |
37 | dma_cookie_t completed_cookie; /* The maximum cookie completed */ | 37 | dma_cookie_t completed_cookie; /* The maximum cookie completed */ |
38 | spinlock_t desc_lock; /* Descriptor operation lock */ | 38 | spinlock_t desc_lock; /* Descriptor operation lock */ |
39 | struct list_head ld_queue; /* Link descriptors queue */ | 39 | struct list_head ld_queue; /* Link descriptors queue */ |
40 | struct list_head ld_free; /* Link descriptors free */ | 40 | struct list_head ld_free; /* Link descriptors free */ |
41 | struct dma_chan common; /* DMA common channel */ | 41 | struct dma_chan common; /* DMA common channel */ |
42 | struct device *dev; /* Channel device */ | 42 | struct device *dev; /* Channel device */ |
43 | struct tasklet_struct tasklet; /* Tasklet */ | 43 | struct tasklet_struct tasklet; /* Tasklet */ |
44 | int descs_allocated; /* desc count */ | 44 | int descs_allocated; /* desc count */ |
45 | int id; /* Raw id of this channel */ | 45 | int id; /* Raw id of this channel */ |
46 | char dev_id[16]; /* unique name per DMAC of channel */ | 46 | char dev_id[16]; /* unique name per DMAC of channel */ |
47 | 47 | ||
48 | /* Set chcr */ | 48 | /* Set chcr */ |
49 | int (*set_chcr)(struct sh_dmae_chan *sh_chan, u32 regs); | 49 | int (*set_chcr)(struct sh_dmae_chan *sh_chan, u32 regs); |