diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mode.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index 55a41757eed..0b8e32776b1 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h | |||
@@ -173,17 +173,12 @@ struct radeon_pll { | |||
173 | enum radeon_pll_algo algo; | 173 | enum radeon_pll_algo algo; |
174 | }; | 174 | }; |
175 | 175 | ||
176 | struct i2c_algo_radeon_data { | ||
177 | struct i2c_adapter bit_adapter; | ||
178 | struct i2c_algo_bit_data bit_data; | ||
179 | }; | ||
180 | |||
181 | struct radeon_i2c_chan { | 176 | struct radeon_i2c_chan { |
182 | struct i2c_adapter adapter; | 177 | struct i2c_adapter adapter; |
183 | struct drm_device *dev; | 178 | struct drm_device *dev; |
184 | union { | 179 | union { |
180 | struct i2c_algo_bit_data bit; | ||
185 | struct i2c_algo_dp_aux_data dp; | 181 | struct i2c_algo_dp_aux_data dp; |
186 | struct i2c_algo_radeon_data radeon; | ||
187 | } algo; | 182 | } algo; |
188 | struct radeon_i2c_bus_rec rec; | 183 | struct radeon_i2c_bus_rec rec; |
189 | }; | 184 | }; |
@@ -435,7 +430,6 @@ extern struct radeon_i2c_chan *radeon_i2c_create(struct drm_device *dev, | |||
435 | struct radeon_i2c_bus_rec *rec, | 430 | struct radeon_i2c_bus_rec *rec, |
436 | const char *name); | 431 | const char *name); |
437 | extern void radeon_i2c_destroy(struct radeon_i2c_chan *i2c); | 432 | extern void radeon_i2c_destroy(struct radeon_i2c_chan *i2c); |
438 | extern void radeon_i2c_destroy_dp(struct radeon_i2c_chan *i2c); | ||
439 | extern void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, | 433 | extern void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, |
440 | u8 slave_addr, | 434 | u8 slave_addr, |
441 | u8 addr, | 435 | u8 addr, |