提交 97da42dc 编写于 作者: A Amaury Decrême 提交者: Wolfram Sang

i2c: sis630: display unsigned hex

This patch corrects the display of the acpi_base unsigned hex value.
Signed-off-by: NAmaury Decrême <amaury.decreme@gmail.com>
Reviewed-by: NJean Delvare <khali@linux-fr.org>
Signed-off-by: NWolfram Sang <wolfram@the-dreams.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册