Commit 5dd80d5d authored by Grant Likely's avatar Grant Likely Committed by Linus Torvalds

mpc52xx-uart: fix compile warning (format type mismatch)

Trivial compile warning fix
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 80d4b416
...@@ -756,8 +756,8 @@ mpc52xx_console_setup(struct console *co, char *options) ...@@ -756,8 +756,8 @@ mpc52xx_console_setup(struct console *co, char *options)
if (port->membase == NULL) if (port->membase == NULL)
return -EINVAL; return -EINVAL;
pr_debug("mpc52xx-psc uart at %lx, mapped to %p, irq=%x, freq=%i\n", pr_debug("mpc52xx-psc uart at %p, mapped to %p, irq=%x, freq=%i\n",
port->mapbase, port->membase, port->irq, port->uartclk); (void*)port->mapbase, port->membase, port->irq, port->uartclk);
/* Setup the port parameters accoding to options */ /* Setup the port parameters accoding to options */
if (options) if (options)
...@@ -974,8 +974,8 @@ mpc52xx_uart_of_probe(struct of_device *op, const struct of_device_id *match) ...@@ -974,8 +974,8 @@ mpc52xx_uart_of_probe(struct of_device *op, const struct of_device_id *match)
port->mapbase = res.start; port->mapbase = res.start;
port->irq = irq_of_parse_and_map(op->node, 0); port->irq = irq_of_parse_and_map(op->node, 0);
dev_dbg(&op->dev, "mpc52xx-psc uart at %lx, irq=%x, freq=%i\n", dev_dbg(&op->dev, "mpc52xx-psc uart at %p, irq=%x, freq=%i\n",
port->mapbase, port->irq, port->uartclk); (void*)port->mapbase, port->irq, port->uartclk);
if ((port->irq==NO_IRQ) || !port->mapbase) { if ((port->irq==NO_IRQ) || !port->mapbase) {
printk(KERN_ERR "Could not allocate resources for PSC\n"); printk(KERN_ERR "Could not allocate resources for PSC\n");
......
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