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
9393
9494 struct slim_ctrl_buf {
9595 void *base;
96− phys_addr_t phy;
96+ dma_addr_t phy;
9797 spinlock_t lock;
9898 int head;
9999 int tail;