1 From 08bb999d4f8b866a570775db5788cd84edafd3f5 Mon Sep 17 00:00:00 2001
2 From: Grant Likely <grant.likely@secretlab.ca>
3 Date: Mon, 11 Dec 2006 23:00:24 -0700
4 Subject: [PATCH] [POWERPC] Fixup pr_print format for mpc52xx pci support
6 Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
8 arch/powerpc/platforms/52xx/pci.c | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/arch/powerpc/platforms/52xx/pci.c b/arch/powerpc/platforms/52xx/pci.c
12 index 14940af..b732fdc 100644
13 --- a/arch/powerpc/platforms/52xx/pci.c
14 +++ b/arch/powerpc/platforms/52xx/pci.c
15 @@ -285,8 +285,8 @@ mpc52xx_pci_setup(struct pci_controller *hose,
18 pr_debug(".io_resource={.start=%x,.end=%x,.flags=%lx} "
19 - ".io_base_phys=%lx\n",
20 - res->start, res->end, res->flags, hose->io_base_phys);
21 + ".io_base_phys=0x%p\n",
22 + res->start, res->end, res->flags, (void*)hose->io_base_phys);
23 out_be32(&pci_regs->iw2btar,
24 MPC52xx_PCI_IWBTAR_TRANSLATION(hose->io_base_phys,