aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/scx200_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/scx200_i2c.c')
-rw-r--r--drivers/i2c/busses/scx200_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/scx200_i2c.c b/drivers/i2c/busses/scx200_i2c.c
index 8ddbae4fafe..6cd96e43aa7 100644
--- a/drivers/i2c/busses/scx200_i2c.c
+++ b/drivers/i2c/busses/scx200_i2c.c
@@ -116,7 +116,7 @@ static int scx200_i2c_init(void)
static void scx200_i2c_cleanup(void)
{
- i2c_bit_del_bus(&scx200_i2c_ops);
+ i2c_del_adapter(&scx200_i2c_ops);
}
module_init(scx200_i2c_init);