Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1487136

Re: [PATCH] drm/exynos: mark exynos_dp_crtc_clock_enable() static

From Andrzej Hajda <a.hajda@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] drm/exynos: mark exynos_dp_crtc_clock_enable() static
Date 2016-09-20 10:30 +0200
Message-ID <sjoBb-uQ-13@gated-at.bofh.it> (permalink)
References <sjoBb-uQ-15@gated-at.bofh.it> <siKNs-lH-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 18.09.2016 15:58, Baoyou Xie wrote:
> 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>

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
--
Regards
Andrzej

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] drm/exynos: mark exynos_dp_crtc_clock_enable() static Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-18 16:00 +0200
  Re: [PATCH] drm/exynos: mark exynos_dp_crtc_clock_enable() static Andrzej Hajda <a.hajda@samsung.com> - 2016-09-20 10:30 +0200

csiph-web