aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_mode.h8
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 55a41757eed1..0b8e32776b10 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
176struct i2c_algo_radeon_data {
177 struct i2c_adapter bit_adapter;
178 struct i2c_algo_bit_data bit_data;
179};
180
181struct radeon_i2c_chan { 176struct 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);
437extern void radeon_i2c_destroy(struct radeon_i2c_chan *i2c); 432extern void radeon_i2c_destroy(struct radeon_i2c_chan *i2c);
438extern void radeon_i2c_destroy_dp(struct radeon_i2c_chan *i2c);
439extern void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, 433extern 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,