diff options
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 8fafb254e42a..7d1f4a478c54 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -1192,8 +1192,8 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id) | |||
1192 | /* Determine the address of the SMBus area */ | 1192 | /* Determine the address of the SMBus area */ |
1193 | priv->smba = pci_resource_start(dev, SMBBAR); | 1193 | priv->smba = pci_resource_start(dev, SMBBAR); |
1194 | if (!priv->smba) { | 1194 | if (!priv->smba) { |
1195 | dev_err(&dev->dev, "SMBus base address uninitialized, " | 1195 | dev_err(&dev->dev, |
1196 | "upgrade BIOS\n"); | 1196 | "SMBus base address uninitialized, upgrade BIOS\n"); |
1197 | err = -ENODEV; | 1197 | err = -ENODEV; |
1198 | goto exit; | 1198 | goto exit; |
1199 | } | 1199 | } |
@@ -1206,8 +1206,9 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id) | |||
1206 | 1206 | ||
1207 | err = pci_request_region(dev, SMBBAR, i801_driver.name); | 1207 | err = pci_request_region(dev, SMBBAR, i801_driver.name); |
1208 | if (err) { | 1208 | if (err) { |
1209 | dev_err(&dev->dev, "Failed to request SMBus region " | 1209 | dev_err(&dev->dev, |
1210 | "0x%lx-0x%Lx\n", priv->smba, | 1210 | "Failed to request SMBus region 0x%lx-0x%Lx\n", |
1211 | priv->smba, | ||
1211 | (unsigned long long)pci_resource_end(dev, SMBBAR)); | 1212 | (unsigned long long)pci_resource_end(dev, SMBBAR)); |
1212 | goto exit; | 1213 | goto exit; |
1213 | } | 1214 | } |