diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c index 6b2423c89ba6..ecb0d8985d13 100644 --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c @@ -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);