aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-09-25 03:54:59 -0400
committerInki Dae <daeinki@gmail.com>2016-09-30 11:39:37 -0400
commitd42c09628a14fd07185d189d245ed57854e06179 (patch)
tree36da268731af9aea21be5af94937c2d284ba7f0f
parentc96fdfdeca5657740c50b09c46f073edd7a2d3a0 (diff)
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: Baoyou Xie <baoyou.xie@linaro.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_dp.c b/drivers/gpu/drm/exynos/exynos_dp.c
index 4f0850585b8e..528229faffe4 100644
--- a/drivers/gpu/drm/exynos/exynos_dp.c
+++ b/drivers/gpu/drm/exynos/exynos_dp.c
@@ -43,7 +43,7 @@ struct exynos_dp_device {
43 struct analogix_dp_plat_data plat_data; 43 struct analogix_dp_plat_data plat_data;
44}; 44};
45 45
46int exynos_dp_crtc_clock_enable(struct analogix_dp_plat_data *plat_data, 46static int exynos_dp_crtc_clock_enable(struct analogix_dp_plat_data *plat_data,
47 bool enable) 47 bool enable)
48{ 48{
49 struct exynos_dp_device *dp = to_dp(plat_data); 49 struct exynos_dp_device *dp = to_dp(plat_data);