aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2017-12-31 14:23:11 +0000
committerGreg Kroah-Hartman <[email protected]>2017-12-31 17:52:59 +0100
commitdb809859c8cee415293b830e67178f526d1eb2be (patch)
treec8687da4382e0ac6b0907e49576112ce48e8f001
parent0b598e4f877ba28603985031b98d4d592464ade7 (diff)
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]>
-rw-r--r--drivers/slimbus/qcom-ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/slimbus/qcom-ctrl.c b/drivers/slimbus/qcom-ctrl.c
index 35ad70dbfe3a..f51de1277912 100644
--- a/drivers/slimbus/qcom-ctrl.c
+++ b/drivers/slimbus/qcom-ctrl.c
@@ -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;