summaryrefslogtreecommitdiff
path: root/drivers/acorn/char/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acorn/char/i2c.c')
-rw-r--r--drivers/acorn/char/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acorn/char/i2c.c b/drivers/acorn/char/i2c.c
index bdb9c8b..9e584a7 100644
--- a/drivers/acorn/char/i2c.c
+++ b/drivers/acorn/char/i2c.c
@@ -360,7 +360,7 @@ static int __init i2c_ioc_init(void)
if (ret >= 0){
ret = misc_register(&rtc_dev);
if(ret < 0)
- i2c_bit_del_bus(&ioc_ops);
+ i2c_del_adapter(&ioc_ops);
}
return ret;