2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00

i2c: sis630: display unsigned hex

This patch corrects the display of the acpi_base unsigned hex value.

Signed-off-by: Amaury Decrême <amaury.decreme@gmail.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
This commit is contained in:
Amaury Decrême 2013-01-28 22:21:09 +01:00 committed by Wolfram Sang
parent a6e7d0efe0
commit 97da42dcb4

View File

@ -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;