• Russell King's avatar
    drm: bochs: fix warnings · 150cee9c
    Russell King authored
    Regular nightly randconfig build testing discovered these warnings:
    
    drivers/gpu/drm/bochs/bochs_drv.c:100:12: warning: 'bochs_pm_suspend' defined but not used [-Wunused-function]
    drivers/gpu/drm/bochs/bochs_drv.c:117:12: warning: 'bochs_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>
    150cee9c
bochs_drv.c 5.05 KB