|
@@ -300,8 +300,8 @@ static void do_i2c_scan(char *name, struct i2c_client *c)
|
|
|
rc = i2c_master_recv(c, &buf, 0);
|
|
|
if (rc < 0)
|
|
|
continue;
|
|
|
- printk(KERN_INFO "%s: i2c scan: found device @ 0x%x [%s]\n",
|
|
|
- name, i << 1, i2c_devs[i] ? i2c_devs[i] : "???");
|
|
|
+ printk(KERN_INFO "%s: i2c scan: found device @ 0x%04x [%s]\n",
|
|
|
+ name, i, i2c_devs[i] ? i2c_devs[i] : "???");
|
|
|
}
|
|
|
}
|
|
|
|