drm: rockchip: cdn-dp: fixup the warning message of compiler

Change-Id: Ib7b984f6bae7519f1c8c3203cf5a4638e5ce2389
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
This commit is contained in:
Chris Zhong
2018-05-07 16:37:44 +08:00
committed by Tao Huang
parent f8701a8506
commit b69396c2c1

View File

@@ -1160,7 +1160,7 @@ static const struct component_ops cdn_dp_component_ops = {
.unbind = cdn_dp_unbind,
};
int cdn_dp_suspend(struct device *dev)
static int cdn_dp_suspend(struct device *dev)
{
struct cdn_dp_device *dp = dev_get_drvdata(dev);
int ret = 0;
@@ -1174,7 +1174,7 @@ int cdn_dp_suspend(struct device *dev)
return ret;
}
int cdn_dp_resume(struct device *dev)
static int cdn_dp_resume(struct device *dev)
{
struct cdn_dp_device *dp = dev_get_drvdata(dev);