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:
Michal Simek <michal.simek@xilinx.com>
Loading
Please sign in to comment