diff options
author | Ben Dooks <ben-linux@fluff.org> | 2011-01-12 22:25:32 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-01-12 22:25:32 +0000 |
commit | adeaf46d311715deee9ae38ef1edb0d6b6fb0d55 (patch) | |
tree | 0fb18544cbc4d653375ed15ec5339534e58d69d7 | |
parent | 428dcc19374c9ebcf8fee057057c9023174c1b2a (diff) | |
parent | 6d779a4c3f97023fe329ef33aba25c8aaadf281b (diff) | |
download | kernel_goldelico_gta04-adeaf46d311715deee9ae38ef1edb0d6b6fb0d55.zip kernel_goldelico_gta04-adeaf46d311715deee9ae38ef1edb0d6b6fb0d55.tar.gz kernel_goldelico_gta04-adeaf46d311715deee9ae38ef1edb0d6b6fb0d55.tar.bz2 |
Merge branch 'for-2638/i2c/nomadik' into for-linus/i2c-2638
-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 c9fffd0..f7148fd 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) adap->owner = THIS_MODULE; adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; adap->algo = &nmk_i2c_algo; + snprintf(adap->name, sizeof(adap->name), + "Nomadik I2C%d at %lx", pdev->id, (unsigned long)res->start); /* fetch the controller id */ adap->nr = pdev->id; @@ -891,8 +893,8 @@ static int __devinit nmk_i2c_probe(struct platform_device *pdev) goto err_init_hw; } - dev_dbg(&pdev->dev, "initialize I2C%d bus on virtual " - "base %p\n", pdev->id, dev->virtbase); + dev_info(&pdev->dev, "initialize %s on virtual " + "base %p\n", adap->name, dev->virtbase); ret = i2c_add_numbered_adapter(adap); if (ret) { |