Re: [RFC PATCH drm-intel] drm/i915/bxt: vlv_dsi_reset_clocks() can be static

Jani Nikula
2015-10-05T11:54:36Z

On Mon, 05 Oct 2015, kbuild test robot <fengguang.wu@intel.com> wrote:
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

> ---
> intel_dsi_pll.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_dsi_pll.c b/drivers/gpu/drm/i915/intel_dsi_pll.c
> index c9a38f4..d85f1eaf 100644
> --- a/drivers/gpu/drm/i915/intel_dsi_pll.c
> +++ b/drivers/gpu/drm/i915/intel_dsi_pll.c
> @@ -384,7 +384,7 @@ u32 vlv_get_dsi_pclk(struct intel_encoder *encoder, int pipe_bpp)
> return pclk;
> }
>
> -void vlv_dsi_reset_clocks(struct intel_encoder *encoder, enum port port)
> +static void vlv_dsi_reset_clocks(struct intel_encoder *encoder, enum port port)
> {
> u32 temp;
> struct drm_i915_private *dev_priv = encoder->base.dev->dev_private;
> @@ -542,7 +542,7 @@ void intel_disable_dsi_pll(struct intel_encoder *encoder)
> bxt_disable_dsi_pll(encoder);
> }
>
> -void bxt_dsi_reset_clocks(struct intel_encoder *encoder, enum port port)
> +static void bxt_dsi_reset_clocks(struct intel_encoder *encoder, enum port port)
> {
> u32 tmp;
> struct drm_device *dev = encoder->base.dev;

--
Jani Nikula, Intel Open Source Technology Center