diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-01-03 17:44:36 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-04 22:16:14 -0500 |
commit | 15c17232fbd1f7687c740c3c26f9e7f337bd9e36 (patch) | |
tree | c3380cdde212259a7b3c790404b870aa2b9aa01d /include | |
parent | 3d992e1a6f8465db3921ef75bfc490fbd2f40cd3 (diff) |
ARM: PL08x: rename 'desc_list' as 'pend_list'
This 'desc_list' is actually a list of pending descriptors, so name
it after its function (pending list) rather than what it contains
(descriptors).
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/amba/pl08x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h index 4e9e71860e1c..08a9024e2d2f 100644 --- a/include/linux/amba/pl08x.h +++ b/include/linux/amba/pl08x.h | |||
@@ -158,7 +158,7 @@ enum pl08x_dma_chan_state { | |||
158 | * @runtime_direction: current direction of this channel according to | 158 | * @runtime_direction: current direction of this channel according to |
159 | * runtime config | 159 | * runtime config |
160 | * @lc: last completed transaction on this channel | 160 | * @lc: last completed transaction on this channel |
161 | * @desc_list: queued transactions pending on this channel | 161 | * @pend_list: queued transactions pending on this channel |
162 | * @at: active transaction on this channel | 162 | * @at: active transaction on this channel |
163 | * @lockflags: sometimes we let a lock last between two function calls, | 163 | * @lockflags: sometimes we let a lock last between two function calls, |
164 | * especially prep/submit, and then we need to store the IRQ flags | 164 | * especially prep/submit, and then we need to store the IRQ flags |
@@ -179,7 +179,7 @@ struct pl08x_dma_chan { | |||
179 | dma_addr_t runtime_addr; | 179 | dma_addr_t runtime_addr; |
180 | enum dma_data_direction runtime_direction; | 180 | enum dma_data_direction runtime_direction; |
181 | dma_cookie_t lc; | 181 | dma_cookie_t lc; |
182 | struct list_head desc_list; | 182 | struct list_head pend_list; |
183 | struct pl08x_txd *at; | 183 | struct pl08x_txd *at; |
184 | unsigned long lockflags; | 184 | unsigned long lockflags; |
185 | spinlock_t lock; | 185 | spinlock_t lock; |