diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-nomadik.c')
-rw-r--r-- | drivers/i2c/busses/i2c-nomadik.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c index c9fffd0389f..f7148fdd46e 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c | |||
@@ -872,6 +872,8 @@ static int __devinit nmk_i2c_probe(struct platform_device *pdev) | |||
872 | adap->owner = THIS_MODULE; | 872 | adap->owner = THIS_MODULE; |
873 | adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; | 873 | adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; |
874 | adap->algo = &nmk_i2c_algo; | 874 | adap->algo = &nmk_i2c_algo; |
875 | snprintf(adap->name, sizeof(adap->name), | ||
876 | "Nomadik I2C%d at %lx", pdev->id, (unsigned long)res->start); | ||
875 | 877 | ||
876 | /* fetch the controller id */ | 878 | /* fetch the controller id */ |
877 | adap->nr = pdev->id; | 879 | adap->nr = pdev->id; |
@@ -891,8 +893,8 @@ static int __devinit nmk_i2c_probe(struct platform_device *pdev) | |||
891 | goto err_init_hw; | 893 | goto err_init_hw; |
892 | } | 894 | } |
893 | 895 | ||
894 | dev_dbg(&pdev->dev, "initialize I2C%d bus on virtual " | 896 | dev_info(&pdev->dev, "initialize %s on virtual " |
895 | "base %p\n", pdev->id, dev->virtbase); | 897 | "base %p\n", adap->name, dev->virtbase); |
896 | 898 | ||
897 | ret = i2c_add_numbered_adapter(adap); | 899 | ret = i2c_add_numbered_adapter(adap); |
898 | if (ret) { | 900 | if (ret) { |