summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams2011-01-15 02:51:11 +0100
committerDan Williams2011-01-15 02:51:11 +0100
commit96a608a4bfd8468c21881b3f92024923886eb015 (patch)
tree5c1cac2a320f8ba019ccd3d45730ac8d0ecbaa5d
parentFix dmaengine_submit() return type (diff)
downloadkernel-qcow2-linux-96a608a4bfd8468c21881b3f92024923886eb015.tar.gz
kernel-qcow2-linux-96a608a4bfd8468c21881b3f92024923886eb015.tar.xz
kernel-qcow2-linux-96a608a4bfd8468c21881b3f92024923886eb015.zip
ARM: PL08x: fix a warning
drivers/dma/amba-pl08x.c: In function 'pl08x_start_txd': drivers/dma/amba-pl08x.c:205: warning: dereferencing 'void *' pointer We never dereference llis_va aside from assigning it to a struct pl08x_lli pointer or calculating the address of array element 0. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r--include/linux/amba/pl08x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h
index 933b4ed12be5..5b87b6aac3f8 100644
--- a/include/linux/amba/pl08x.h
+++ b/include/linux/amba/pl08x.h
@@ -118,7 +118,7 @@ struct pl08x_txd {
dma_addr_t dst_addr;
size_t len;
dma_addr_t llis_bus;
- void *llis_va;
+ struct pl08x_lli *llis_va;
bool active;
/* Default cctl value for LLIs */
u32 cctl;