[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1291388753-14662-17-git-send-email-sundar.iyer@stericsson.com>
Date: Fri, 3 Dec 2010 20:35:49 +0530
From: Sundar Iyer <sundar.iyer@...ricsson.com>
To: <linux-arm-kernel@...ts.infradead.org>,
<dmitry.torokhov@...il.com>, <sameo@...ux.intel.com>,
<ben-linux@...ff.org>
Cc: <linux-input@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Sundar Iyer <sundar.iyer@...ricsson.com>
Subject: [PATCH 16/20] i2c/nomadik: add adapter name for updated sanity checkings
Signed-off-by: Sundar Iyer <sundar.iyer@...ricsson.com>
---
drivers/i2c/busses/i2c-nomadik.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c
index 2bd3469..baa8ff7 100644
--- a/drivers/i2c/busses/i2c-nomadik.c
+++ b/drivers/i2c/busses/i2c-nomadik.c
@@ -872,6 +872,7 @@ 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), DRIVER_NAME);
/* fetch the controller id */
adap->nr = pdev->id;
--
1.7.2.dirty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists