Re: [PATCH] dmaengine: k3: fix duplicate function definition
From: Vinod Koul
Date: Tue Jan 13 2015 - 09:44:12 EST
On Tue, Jan 13, 2015 at 02:23:13PM +0100, Arnd Bergmann wrote:
> Commit db08425ebd51f ("dmaengine: k3: Split device_control") introduced
> two new helper functions, which unfortunately have the same names
> as the existing suspend/resume functions, resulting in a build error
> when CONFIG_PM_SLEEP is enabled:
>
> drivers/dma/k3dma.c:823:12: error: conflicting types for 'k3_dma_resume'
> static int k3_dma_resume(struct device *dev)
> ^
> drivers/dma/k3dma.c:625:12: note: previous definition of 'k3_dma_resume' was here
> static int k3_dma_resume(struct dma_chan *chan)
Applied, Thanks
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/