mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
drm/rockchip: dw-hdmi: fix compilation warning for !PM_SLEEP
Change-Id: I404951709bef35cc2297fcc99002930ded17fe74 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
parent
e4b484d077
commit
fc5f7f4e52
|
|
@ -1251,7 +1251,7 @@ static int dw_hdmi_rockchip_remove(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int dw_hdmi_rockchip_suspend(struct device *dev)
|
||||
static int __maybe_unused dw_hdmi_rockchip_suspend(struct device *dev)
|
||||
{
|
||||
dw_hdmi_suspend(dev);
|
||||
pm_runtime_put_sync(dev);
|
||||
|
|
@ -1259,7 +1259,7 @@ static int dw_hdmi_rockchip_suspend(struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int dw_hdmi_rockchip_resume(struct device *dev)
|
||||
static int __maybe_unused dw_hdmi_rockchip_resume(struct device *dev)
|
||||
{
|
||||
pm_runtime_get_sync(dev);
|
||||
dw_hdmi_resume(dev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user