• Russell King's avatar
    drm: cirrus: fix warnings · 8f8e7e14
    Russell King authored
    Regular nightly randconfig build testing discovered these warnings:
    
    drivers/gpu/drm/cirrus/cirrus_drv.c:79:12: warning: 'cirrus_pm_suspend' defined but not used [-Wunused-function]
    drivers/gpu/drm/cirrus/cirrus_drv.c:96:12: warning: 'cirrus_pm_resume' defined but not used [-Wunused-function]
    
    Fix these by adding the same condition that SET_SYSTEM_SLEEP_PM_OPS()
    uses.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    8f8e7e14
cirrus_drv.c 4.06 KB