From: Russell King - ARM Linux Date: Mon, 3 Jan 2011 22:37:52 +0000 (+0000) Subject: ARM: PL08x: use 'u32' for LLI structure members, not dma_addr_t X-Git-Tag: MMI-PSA29.97-13-9~20995^2~11^2~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e25761d72c80751c8741f5f93abab14232eef347;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Acked-by: Linus Walleij Signed-off-by: Dan Williams --- 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 { /* * PL08X private data structures * An LLI struct - see PL08x TRM. Note that next uses bit[0] as a bus bit, - * start & end do not - their bus bit info is in cctl. + * start & end do not - their bus bit info is in cctl. Also note that these + * are fixed 32-bit quantities. */ struct pl08x_lli { - dma_addr_t src; - dma_addr_t dst; - dma_addr_t next; + u32 src; + u32 dst; + u32 next; u32 cctl; };