History

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.

Srinivas Kandagatla committed 8 years ago

Commit db809851 parent 0b598e41 file · +1 −1Browse files

Unified · Split

drivers/slimbus/qcom-ctrl.c+1−1
@@ -93,7 +93,7 @@ · 92 unmodified lines
93 93
94struct slim_ctrl_buf {94struct slim_ctrl_buf {
95 void *base;95 void *base;
96 phys_addr_t phy;96 dma_addr_t phy;
97 spinlock_t lock;97 spinlock_t lock;
98 int head;98 int head;
99 int tail;99 int tail;