Skip to content

Commit

Permalink
ARM: PL08x: use 'u32' for LLI structure members, not dma_addr_t
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King - ARM Linux authored and Dan Williams committed Jan 5, 2011
1 parent cace658 commit e25761d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions drivers/dma/amba-pl08x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit e25761d

Please sign in to comment.