From: Arnd Bergmann Date: Thu, 8 May 2014 14:56:13 +0000 (+0200) Subject: dmaengine: sa11x0: remove broken #ifdef X-Git-Tag: omap-for-v3.16/fixes-against-rc1~137^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbeb91fe8e4107dc88df4eaa21de02c3fd9d1cd5;p=pandora-kernel.git dmaengine: sa11x0: remove broken #ifdef 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. Signed-off-by: Arnd Bergmann Cc: Russell King Cc: dmaengine@vger.kernel.org Cc: Vinod Koul Cc: Dan Williams Signed-off-by: Vinod Koul --- Reading git-diff-tree failed