diff options
author | David S. Miller <davem@davemloft.net> | 2009-11-04 11:47:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-04 11:47:03 -0500 |
commit | 384a17b284b9dc92b480cf388310a25e255bac8a (patch) | |
tree | c100d0acdd2a658fac552cc2e8b0bed91173c89f /drivers/serial/apbuart.c | |
parent | d4ac42a582e46d7f86f0acb4253a310423c72c4c (diff) |
apbuart: Fix build warning.
drivers/serial/apbuart.c: In function ‘apbuart_probe’:
drivers/serial/apbuart.c:574: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘resource_size_t’
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial/apbuart.c')
-rw-r--r-- | drivers/serial/apbuart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/apbuart.c b/drivers/serial/apbuart.c index 8a343045131..c7883a36be9 100644 --- a/drivers/serial/apbuart.c +++ b/drivers/serial/apbuart.c | |||
@@ -570,8 +570,8 @@ static int __devinit apbuart_probe(struct of_device *op, | |||
570 | 570 | ||
571 | apbuart_flush_fifo((struct uart_port *) port); | 571 | apbuart_flush_fifo((struct uart_port *) port); |
572 | 572 | ||
573 | printk(KERN_INFO "grlib-apbuart at 0x%x, irq %d\n", | 573 | printk(KERN_INFO "grlib-apbuart at 0x%llx, irq %d\n", |
574 | port->mapbase, port->irq); | 574 | (unsigned long long) port->mapbase, port->irq); |
575 | return 0; | 575 | return 0; |
576 | 576 | ||
577 | } | 577 | } |