• Arnd Bergmann's avatar
    dmaengine: sa11x0: remove broken #ifdef · fbeb91fe
    Arnd Bergmann authored
    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: default avatarArnd 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: default avatarVinod Koul <vinod.koul@intel.com>
    fbeb91fe
sa11x0-dma.c 26.5 KB