aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-14 16:37:22 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-29 14:49:39 -0500
commit36c785f051b21728775c9c4f2621d37d586553d0 (patch)
treeb188b3922945b0e0d28d15931489c779758e3901 /drivers/gpu/drm/i915/i915_drv.h
parentb0209b39951868069710c1e39ca14add9fa77ada (diff)
drm/i915: merge struct intel_gpio into struct intel_gmbus
When we set up the gpio fallback, we always have a 1:1 relationship with an intel_gmbus. Exploit that to store all gpio related data in there, too. This is a preparation step to merge the tw i2c adapters controlling the same bus into one. Just mundane code-munging in this patch. Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 3cc2694a2b93..63cea5082229 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -302,6 +302,7 @@ struct intel_gmbus {
302 struct i2c_adapter adapter; 302 struct i2c_adapter adapter;
303 struct i2c_adapter *force_bit; 303 struct i2c_adapter *force_bit;
304 u32 reg0; 304 u32 reg0;
305 u32 gpio_reg;
305 struct drm_i915_private *dev_priv; 306 struct drm_i915_private *dev_priv;
306}; 307};
307 308