diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-14 22:37:22 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-29 20:49:39 +0100 |
commit | 36c785f051b21728775c9c4f2621d37d586553d0 (patch) | |
tree | b188b3922945b0e0d28d15931489c779758e3901 /drivers/gpu/drm/i915/i915_drv.h | |
parent | b0209b39951868069710c1e39ca14add9fa77ada (diff) | |
download | blackbird-op-linux-36c785f051b21728775c9c4f2621d37d586553d0.tar.gz blackbird-op-linux-36c785f051b21728775c9c4f2621d37d586553d0.zip |
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.h | 1 |
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 { struct i2c_adapter adapter; struct i2c_adapter *force_bit; u32 reg0; + u32 gpio_reg; struct drm_i915_private *dev_priv; }; |