slimbus: qcom: fix incompatible pointer warning

One of the pointer passed to dmam_alloc_coherent seems to be
phys_addr_t * instead of dma_addr_t *. This address will be
used by dma apis, so change this to proper type.

Reported-by: kbuild test robot <[email protected]>
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Srinivas Kandagatla
2017-12-31 17:52:59 +01:00
committed by Greg Kroah-Hartman
parent 0b598e4f87
commit db809859c8
+1 -1
View File
@@ -93,7 +93,7 @@
struct slim_ctrl_buf {
void *base;
phys_addr_t phy;
dma_addr_t phy;
spinlock_t lock;
int head;
int tail;