diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index a320e7d82c1f..611b57192c96 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -527,7 +527,7 @@ static int __devinit i801_probe(struct pci_dev *dev, const struct pci_device_id | |||
527 | /* set up the sysfs linkage to our parent device */ | 527 | /* set up the sysfs linkage to our parent device */ |
528 | i801_adapter.dev.parent = &dev->dev; | 528 | i801_adapter.dev.parent = &dev->dev; |
529 | 529 | ||
530 | snprintf(i801_adapter.name, I2C_NAME_SIZE, | 530 | snprintf(i801_adapter.name, sizeof(i801_adapter.name), |
531 | "SMBus I801 adapter at %04lx", i801_smba); | 531 | "SMBus I801 adapter at %04lx", i801_smba); |
532 | err = i2c_add_adapter(&i801_adapter); | 532 | err = i2c_add_adapter(&i801_adapter); |
533 | if (err) { | 533 | if (err) { |