summaryrefslogtreecommitdiff
path: root/drivers/slimbus/qcom-ctrl.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2017-12-31 17:23:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-31 19:52:59 +0300
commitdb809859c8cee415293b830e67178f526d1eb2be (patch)
treec8687da4382e0ac6b0907e49576112ce48e8f001 /drivers/slimbus/qcom-ctrl.c
parent0b598e4f877ba28603985031b98d4d592464ade7 (diff)
downloadlinux-db809859c8cee415293b830e67178f526d1eb2be.tar.xz
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 <fengguang.wu@intel.com> Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/slimbus/qcom-ctrl.c')
-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;