diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2017-12-31 15:23:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-31 17:52:59 +0100 |
commit | db809859c8cee415293b830e67178f526d1eb2be (patch) | |
tree | c8687da4382e0ac6b0907e49576112ce48e8f001 /drivers/slimbus/qcom-ctrl.c | |
parent | virt: vbox: use %pap format for printing resource_size_t (diff) | |
download | linux-db809859c8cee415293b830e67178f526d1eb2be.tar.xz linux-db809859c8cee415293b830e67178f526d1eb2be.zip |
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.c | 2 |
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; |