diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-28 11:46:56 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-01 01:45:48 -0400 |
commit | 5134099089b539e18afb9d06313508317fb35504 (patch) | |
tree | fcd635d1ac99cc3fcf8a15be4d4494411aa19509 /drivers/gpu/drm | |
parent | d9255d57147e1dbcebdf6670409c2fa0ac3609e6 (diff) |
drm/i915: Make intel_resume_power_well() static
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index a17a86ac4e40..e6db0c67e0be 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -798,7 +798,6 @@ void intel_display_power_put(struct drm_device *dev, | |||
798 | enum intel_display_power_domain domain); | 798 | enum intel_display_power_domain domain); |
799 | void intel_init_power_well(struct drm_device *dev); | 799 | void intel_init_power_well(struct drm_device *dev); |
800 | void intel_set_power_well(struct drm_device *dev, bool enable); | 800 | void intel_set_power_well(struct drm_device *dev, bool enable); |
801 | void intel_resume_power_well(struct drm_device *dev); | ||
802 | void intel_enable_gt_powersave(struct drm_device *dev); | 801 | void intel_enable_gt_powersave(struct drm_device *dev); |
803 | void intel_disable_gt_powersave(struct drm_device *dev); | 802 | void intel_disable_gt_powersave(struct drm_device *dev); |
804 | void ironlake_teardown_rc6(struct drm_device *dev); | 803 | void ironlake_teardown_rc6(struct drm_device *dev); |
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 10054b58ee92..698257cf6381 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c | |||
@@ -5512,7 +5512,7 @@ void intel_set_power_well(struct drm_device *dev, bool enable) | |||
5512 | spin_unlock_irq(&power_well->lock); | 5512 | spin_unlock_irq(&power_well->lock); |
5513 | } | 5513 | } |
5514 | 5514 | ||
5515 | void intel_resume_power_well(struct drm_device *dev) | 5515 | static void intel_resume_power_well(struct drm_device *dev) |
5516 | { | 5516 | { |
5517 | struct drm_i915_private *dev_priv = dev->dev_private; | 5517 | struct drm_i915_private *dev_priv = dev->dev_private; |
5518 | struct i915_power_well *power_well = &dev_priv->power_well; | 5518 | struct i915_power_well *power_well = &dev_priv->power_well; |