Commit d42c0962 authored by Baoyou Xie's avatar Baoyou Xie Committed by Inki Dae

drm/exynos: mark exynos_dp_crtc_clock_enable() static

We get 1 warning when building kernel with W=1:
drivers/gpu/drm/exynos/exynos_dp.c:46:5: warning: no previous prototype for 'exynos_dp_crtc_clock_enable' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
So this patch marks it 'static'.
Signed-off-by: default avatarBaoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent c96fdfde
...@@ -43,7 +43,7 @@ struct exynos_dp_device { ...@@ -43,7 +43,7 @@ struct exynos_dp_device {
struct analogix_dp_plat_data plat_data; struct analogix_dp_plat_data plat_data;
}; };
int exynos_dp_crtc_clock_enable(struct analogix_dp_plat_data *plat_data, static int exynos_dp_crtc_clock_enable(struct analogix_dp_plat_data *plat_data,
bool enable) bool enable)
{ {
struct exynos_dp_device *dp = to_dp(plat_data); struct exynos_dp_device *dp = to_dp(plat_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment