diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-omap.c')
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index fdd83277c8a8..f2b82ee39adf 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c | |||
@@ -879,7 +879,7 @@ omap_i2c_probe(struct platform_device *pdev) | |||
879 | i2c_set_adapdata(adap, dev); | 879 | i2c_set_adapdata(adap, dev); |
880 | adap->owner = THIS_MODULE; | 880 | adap->owner = THIS_MODULE; |
881 | adap->class = I2C_CLASS_HWMON; | 881 | adap->class = I2C_CLASS_HWMON; |
882 | strncpy(adap->name, "OMAP I2C adapter", sizeof(adap->name)); | 882 | strlcpy(adap->name, "OMAP I2C adapter", sizeof(adap->name)); |
883 | adap->algo = &omap_i2c_algo; | 883 | adap->algo = &omap_i2c_algo; |
884 | adap->dev.parent = &pdev->dev; | 884 | adap->dev.parent = &pdev->dev; |
885 | 885 | ||