Re: [PATCH] dmaengine: k3: fix duplicate function definition

2015-01-13 Thread Vinod Koul
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

[PATCH] dmaengine: k3: fix duplicate function definition

2015-01-13 Thread Arnd Bergmann
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 '