Commit 34463a36 authored by Michal Simek's avatar Michal Simek
Browse files

drm: xylon: Fix runtime PM support in the driver



Error reported by Kbuild:
   In file included from include/linux/device.h:25:0,
                    from include/linux/dma-mapping.h:5,
                    from include/drm/drmP.h:37,
                    from drivers/gpu/drm/xylon/xylon_drv.c:20:
>> drivers/gpu/drm/xylon/xylon_drv.c:305:21: error:
>> 'xylon_drm_pm_suspend' undeclared here (not in a function)
     SET_RUNTIME_PM_OPS(xylon_drm_pm_suspend, xylon_drm_pm_resume, NULL)
   include/linux/pm.h:347:21: note: in definition of macro
'SET_RUNTIME_PM_OPS'
     .runtime_suspend = suspend_fn, \
>> drivers/gpu/drm/xylon/xylon_drv.c:305:43: error:
>> 'xylon_drm_pm_resume' undeclared here (not in a function)
     SET_RUNTIME_PM_OPS(xylon_drm_pm_suspend, xylon_drm_pm_resume, NULL)
   include/linux/pm.h:348:20: note: in definition of macro
'SET_RUNTIME_PM_OPS'
     .runtime_resume = resume_fn, \

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 178c54af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment