aboutsummaryrefslogtreecommitdiff
path: root/drivers/slimbus
diff options
context:
space:
mode:
authorSrinivas Kandagatla2017-12-31 14:23:11 +0000
committerGreg Kroah-Hartman2017-12-31 17:52:59 +0100
commitdb809859c8cee415293b830e67178f526d1eb2be (patch)
treec8687da4382e0ac6b0907e49576112ce48e8f001 /drivers/slimbus
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 <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')
-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;