aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-03 17:37:52 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-04 22:16:12 -0500
commite25761d72c80751c8741f5f93abab14232eef347 (patch)
treeefc7c9136f7a779800fe2b736eaa2d280f7ea1ff /drivers/dma
parentcace658572ba5d1075f3891e823130a66f3e330f (diff)
ARM: PL08x: use 'u32' for LLI structure members, not dma_addr_t
Use 'u32' for the LLI structure members, which are defined by hardware to be 32-bit. dma_addr_t is much more vague about its actual size. 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 'drivers/dma')
-rw-r--r--drivers/dma/amba-pl08x.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c
index fa78697790c0..a389df501f70 100644
--- a/drivers/dma/amba-pl08x.c
+++ b/drivers/dma/amba-pl08x.c
@@ -105,12 +105,13 @@ struct vendor_data {
105/* 105/*
106 * PL08X private data structures 106 * PL08X private data structures
107 * An LLI struct - see PL08x TRM. Note that next uses bit[0] as a bus bit, 107 * An LLI struct - see PL08x TRM. Note that next uses bit[0] as a bus bit,
108 * start & end do not - their bus bit info is in cctl. 108 * start & end do not - their bus bit info is in cctl. Also note that these
109 * are fixed 32-bit quantities.
109 */ 110 */
110struct pl08x_lli { 111struct pl08x_lli {
111 dma_addr_t src; 112 u32 src;
112 dma_addr_t dst; 113 u32 dst;
113 dma_addr_t next; 114 u32 next;
114 u32 cctl; 115 u32 cctl;
115}; 116};
116 117