On Wednesday 05 November 2014 20:32:54 al.stone@linaro.org wrote:
From: Al Stone ahs3@redhat.com
Ended up with this compiler warning: CC drivers/base/dma-coherent.o drivers/base/dma-coherent.c:303:2: warning: initialization from incompatible pointer type .device_init = rmem_dma_device_init, ^ drivers/base/dma-coherent.c:303:2: warning: (near initialization for ‘rmem_dma_ops.device_init’)
Correct the function definition for rmem_dma_device_init to match what's required for a reserved_mem struct.
Signed-off-by: Al Stone al.stone@linaro.org
We definitely need this in 3.18.
Arnd