ARM: PL08x: don't try to use llis_bus as a pointer
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:37:10 +0000 (22:37 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:12 +0000 (19:16 -0800)
commit56b618820c92a5efa2145fbbac373fffbb024a94
treec0e046e1be9007d35d436f4577d3272bec6c45f6
parent4c0df6a3ce8eb947647c7ed2640d0172936d8ef3
ARM: PL08x: don't try to use llis_bus as a pointer

llis_bus is the DMA address of the LLI array.  Casting it to be a
pointer just to be able to use pointer arithmetic on it is not nice.
We can trivially deal with the places where we do arithmetic on it,
and it's actually cleaner this way.

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>
drivers/dma/amba-pl08x.c