summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-02-18 00:02:02 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-05 21:30:07 +0100
commitda7e29bd5b6dfab9b64eeffa7816fdcf00048d14 (patch)
tree07f26a098da3d7a4b96eb3e61be00e49b72e7aa4 /drivers/gpu/drm/i915/i915_drv.h
parent7e696e4cadcbeb5e7f794fe77f02a20e857feeb1 (diff)
downloadlwn-da7e29bd5b6dfab9b64eeffa7816fdcf00048d14.tar.gz
lwn-da7e29bd5b6dfab9b64eeffa7816fdcf00048d14.zip
drm/i915: use drm_i915_private everywhere in the power domain api
The power domains framework is internal to the i915 driver, so pass drm_i915_private instead of drm_device to its functions. Also remove a dangling intel_set_power_well() declaration. No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index c942dbfbf003..68100415e7a3 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1024,9 +1024,9 @@ struct i915_power_well {
int count;
unsigned long domains;
void *data;
- void (*set)(struct drm_device *dev, struct i915_power_well *power_well,
+ void (*set)(struct drm_i915_private *dev_priv, struct i915_power_well *power_well,
bool enable);
- bool (*is_enabled)(struct drm_device *dev,
+ bool (*is_enabled)(struct drm_i915_private *dev_priv,
struct i915_power_well *power_well);
};