Commit 666f988e authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Russell King

[Serial] Fix warnings in 8250_acpi

Patch from Bjorn Helgaas.

Lastest changes in 8250_acpi.c produce warnings about type mismatch
in printk.
parent fcdcae94
...@@ -28,8 +28,7 @@ static acpi_status acpi_serial_mmio(struct serial_struct *req, ...@@ -28,8 +28,7 @@ static acpi_status acpi_serial_mmio(struct serial_struct *req,
req->iomem_base = ioremap(req->iomap_base, size); req->iomem_base = ioremap(req->iomap_base, size);
if (!req->iomem_base) { if (!req->iomem_base) {
printk(KERN_ERR "%s: couldn't ioremap 0x%lx-0x%lx\n", printk(KERN_ERR "%s: couldn't ioremap 0x%lx-0x%lx\n",
__FUNCTION__, addr->min_address_range, __FUNCTION__, req->iomap_base, req->iomap_base + size);
addr->max_address_range);
return AE_ERROR; return AE_ERROR;
} }
req->io_type = SERIAL_IO_MEM; req->io_type = SERIAL_IO_MEM;
......
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