diff options
Diffstat (limited to 'drivers/video/aty/radeon_i2c.c')
-rw-r--r-- | drivers/video/aty/radeon_i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/aty/radeon_i2c.c b/drivers/video/aty/radeon_i2c.c index 869725a13c21..e7c5b219ad1b 100644 --- a/drivers/video/aty/radeon_i2c.c +++ b/drivers/video/aty/radeon_i2c.c | |||
@@ -120,19 +120,19 @@ void radeon_create_i2c_busses(struct radeonfb_info *rinfo) | |||
120 | void radeon_delete_i2c_busses(struct radeonfb_info *rinfo) | 120 | void radeon_delete_i2c_busses(struct radeonfb_info *rinfo) |
121 | { | 121 | { |
122 | if (rinfo->i2c[0].rinfo) | 122 | if (rinfo->i2c[0].rinfo) |
123 | i2c_bit_del_bus(&rinfo->i2c[0].adapter); | 123 | i2c_del_adapter(&rinfo->i2c[0].adapter); |
124 | rinfo->i2c[0].rinfo = NULL; | 124 | rinfo->i2c[0].rinfo = NULL; |
125 | 125 | ||
126 | if (rinfo->i2c[1].rinfo) | 126 | if (rinfo->i2c[1].rinfo) |
127 | i2c_bit_del_bus(&rinfo->i2c[1].adapter); | 127 | i2c_del_adapter(&rinfo->i2c[1].adapter); |
128 | rinfo->i2c[1].rinfo = NULL; | 128 | rinfo->i2c[1].rinfo = NULL; |
129 | 129 | ||
130 | if (rinfo->i2c[2].rinfo) | 130 | if (rinfo->i2c[2].rinfo) |
131 | i2c_bit_del_bus(&rinfo->i2c[2].adapter); | 131 | i2c_del_adapter(&rinfo->i2c[2].adapter); |
132 | rinfo->i2c[2].rinfo = NULL; | 132 | rinfo->i2c[2].rinfo = NULL; |
133 | 133 | ||
134 | if (rinfo->i2c[3].rinfo) | 134 | if (rinfo->i2c[3].rinfo) |
135 | i2c_bit_del_bus(&rinfo->i2c[3].adapter); | 135 | i2c_del_adapter(&rinfo->i2c[3].adapter); |
136 | rinfo->i2c[3].rinfo = NULL; | 136 | rinfo->i2c[3].rinfo = NULL; |
137 | } | 137 | } |
138 | 138 | ||