diff options
Diffstat (limited to 'drivers/video/matrox')
-rw-r--r-- | drivers/video/matrox/i2c-matroxfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/matrox/i2c-matroxfb.c b/drivers/video/matrox/i2c-matroxfb.c index 795c1a99a680..797b42305b0f 100644 --- a/drivers/video/matrox/i2c-matroxfb.c +++ b/drivers/video/matrox/i2c-matroxfb.c | |||
@@ -124,7 +124,7 @@ static int i2c_bus_reg(struct i2c_bit_adapter* b, struct matrox_fb_info* minfo, | |||
124 | 124 | ||
125 | static void i2c_bit_bus_del(struct i2c_bit_adapter* b) { | 125 | static void i2c_bit_bus_del(struct i2c_bit_adapter* b) { |
126 | if (b->initialized) { | 126 | if (b->initialized) { |
127 | i2c_bit_del_bus(&b->adapter); | 127 | i2c_del_adapter(&b->adapter); |
128 | b->initialized = 0; | 128 | b->initialized = 0; |
129 | } | 129 | } |
130 | } | 130 | } |