diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-01-14 20:51:11 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-14 20:51:11 -0500 |
commit | 96a608a4bfd8468c21881b3f92024923886eb015 (patch) | |
tree | 5c1cac2a320f8ba019ccd3d45730ac8d0ecbaa5d /include | |
parent | 98d530fe246b65fbd3cdeeeca319a80c46cb4793 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/amba/pl08x.h | 2 |
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 { | |||
118 | dma_addr_t dst_addr; | 118 | dma_addr_t dst_addr; |
119 | size_t len; | 119 | size_t len; |
120 | dma_addr_t llis_bus; | 120 | dma_addr_t llis_bus; |
121 | void *llis_va; | 121 | struct pl08x_lli *llis_va; |
122 | bool active; | 122 | bool active; |
123 | /* Default cctl value for LLIs */ | 123 | /* Default cctl value for LLIs */ |
124 | u32 cctl; | 124 | u32 cctl; |