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
parent 3fe574630c
commit 121bd73bed

View File

@@ -1190,7 +1190,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;
@@ -1204,7 +1204,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);