diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index cd4b9c5f715e..d89a2fed35af 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -65,7 +65,6 @@ struct intel_i2c_chan { | |||
65 | u32 reg; /* GPIO reg */ | 65 | u32 reg; /* GPIO reg */ |
66 | struct i2c_adapter adapter; | 66 | struct i2c_adapter adapter; |
67 | struct i2c_algo_bit_data algo; | 67 | struct i2c_algo_bit_data algo; |
68 | u8 slave_addr; | ||
69 | }; | 68 | }; |
70 | 69 | ||
71 | struct intel_framebuffer { | 70 | struct intel_framebuffer { |
@@ -79,8 +78,8 @@ struct intel_output { | |||
79 | 78 | ||
80 | struct drm_encoder enc; | 79 | struct drm_encoder enc; |
81 | int type; | 80 | int type; |
82 | struct intel_i2c_chan *i2c_bus; /* for control functions */ | 81 | struct i2c_adapter *i2c_bus; |
83 | struct intel_i2c_chan *ddc_bus; /* for DDC only stuff */ | 82 | struct i2c_adapter *ddc_bus; |
84 | bool load_detect_temp; | 83 | bool load_detect_temp; |
85 | bool needs_tv_clock; | 84 | bool needs_tv_clock; |
86 | void *dev_priv; | 85 | void *dev_priv; |
@@ -104,9 +103,9 @@ struct intel_crtc { | |||
104 | #define enc_to_intel_output(x) container_of(x, struct intel_output, enc) | 103 | #define enc_to_intel_output(x) container_of(x, struct intel_output, enc) |
105 | #define to_intel_framebuffer(x) container_of(x, struct intel_framebuffer, base) | 104 | #define to_intel_framebuffer(x) container_of(x, struct intel_framebuffer, base) |
106 | 105 | ||
107 | struct intel_i2c_chan *intel_i2c_create(struct drm_device *dev, const u32 reg, | 106 | struct i2c_adapter *intel_i2c_create(struct drm_device *dev, const u32 reg, |
108 | const char *name); | 107 | const char *name); |
109 | void intel_i2c_destroy(struct intel_i2c_chan *chan); | 108 | void intel_i2c_destroy(struct i2c_adapter *adapter); |
110 | int intel_ddc_get_modes(struct intel_output *intel_output); | 109 | int intel_ddc_get_modes(struct intel_output *intel_output); |
111 | extern bool intel_ddc_probe(struct intel_output *intel_output); | 110 | extern bool intel_ddc_probe(struct intel_output *intel_output); |
112 | void intel_i2c_quirk_set(struct drm_device *dev, bool enable); | 111 | void intel_i2c_quirk_set(struct drm_device *dev, bool enable); |