dmaengine: sa11x0: remove broken #ifdef
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 14:56:13 +0000 (16:56 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 21 May 2014 06:10:49 +0000 (11:40 +0530)
commitfbeb91fe8e4107dc88df4eaa21de02c3fd9d1cd5
tree1092e89b2538f59e458eb6f3a4381c2c34bfafbe
parenta8246fedacadaab18b23b280ea3cf916ef5fc30e
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 <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: dmaengine@vger.kernel.org
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sa11x0-dma.c