Skip to content

Commit fc5f7f4

Browse files
committed
drm/rockchip: dw-hdmi: fix compilation warning for !PM_SLEEP
Change-Id: I404951709bef35cc2297fcc99002930ded17fe74 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent e4b484d commit fc5f7f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,15 +1251,15 @@ static int dw_hdmi_rockchip_remove(struct platform_device *pdev)
12511251
return 0;
12521252
}
12531253

1254-
static int dw_hdmi_rockchip_suspend(struct device *dev)
1254+
static int __maybe_unused dw_hdmi_rockchip_suspend(struct device *dev)
12551255
{
12561256
dw_hdmi_suspend(dev);
12571257
pm_runtime_put_sync(dev);
12581258

12591259
return 0;
12601260
}
12611261

1262-
static int dw_hdmi_rockchip_resume(struct device *dev)
1262+
static int __maybe_unused dw_hdmi_rockchip_resume(struct device *dev)
12631263
{
12641264
pm_runtime_get_sync(dev);
12651265
dw_hdmi_resume(dev);

0 commit comments

Comments
 (0)