Commit 97da42dc authored by Amaury Decrême's avatar Amaury Decrême Committed by Wolfram Sang

i2c: sis630: display unsigned hex

This patch corrects the display of the acpi_base unsigned hex value.
Signed-off-by: default avatarAmaury Decrême <amaury.decreme@gmail.com>
Reviewed-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarWolfram Sang <wolfram@the-dreams.de>
parent a6e7d0ef
...@@ -463,7 +463,7 @@ static int sis630_setup(struct pci_dev *sis630_dev) ...@@ -463,7 +463,7 @@ static int sis630_setup(struct pci_dev *sis630_dev)
goto exit; goto exit;
} }
dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04x\n", acpi_base); dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04hx\n", acpi_base);
if (supported[i] == PCI_DEVICE_ID_SI_760) if (supported[i] == PCI_DEVICE_ID_SI_760)
smbus_base = acpi_base + 0xE0; smbus_base = acpi_base + 0xE0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment