diff mbox

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

Message ID 20151005082111.GA12185@xian (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Oct. 5, 2015, 8:21 a.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 intel_dsi_pll.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jani Nikula Oct. 5, 2015, 11:57 a.m. UTC | #1
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;
Daniel Vetter Oct. 6, 2015, 8:57 a.m. UTC | #2
On Mon, Oct 05, 2015 at 02:57:57PM +0300, Jani Nikula wrote:
> 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>

Queued for -next, thanks for the patch.
-Daniel

> 
> 
> > ---
> >  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
diff mbox

Patch

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;