Re: [PATCH 2/2] dmaengine: sa11x0: remove broken #ifdef

2014-05-20 Thread Vinod Koul
On Thu, May 08, 2014 at 09:38:37PM +0530, Shevchenko, Andriy wrote: > On Thu, 2014-05-08 at 16:56 +0200, Arnd Bergmann wrote: > > The sa11x0_dma_pm_ops unconditionally reference sa11x0_dma_resume > > and sa11x0_dma_suspend, which currently breaks if CONFIG_PM_SLEEP > > is disabled. > > > > There i

Re: [PATCH 2/2] dmaengine: sa11x0: remove broken #ifdef

2014-05-08 Thread Shevchenko, Andriy
On Thu, 2014-05-08 at 16:56 +0200, Arnd Bergmann wrote: > The sa11x0_dma_pm_ops unconditionally reference sa11x0_dma_resume > and sa11x0_dma_suspend, which currently breaks if CONFIG_PM_SLEEP > is disabled. > > There is probably a better way to remove the reference in this > case, but the safe cho

[PATCH 2/2] dmaengine: sa11x0: remove broken #ifdef

2014-05-08 Thread Arnd Bergmann
The sa11x0_dma_pm_ops unconditionally reference sa11x0_dma_resume and sa11x0_dma_suspend, which currently breaks if CONFIG_PM_SLEEP is disabled. There is probably a better way to remove the reference in this case, but the safe choice is to have the suspend/resume code always built in the driver.