MIPS: Use printf extension %pR for struct resource

Using %pR standardizes the struct resource output.

Signed-off-by: Joe Perches <joe@perches.com>
To: Jiri Kosina <trivial@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1772/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Joe Perches 2010-11-12 13:37:52 -08:00 committed by Ralf Baechle
parent a1181caac9
commit 0bec405e8e
1 changed files with 2 additions and 5 deletions

View File

@ -213,11 +213,8 @@ txx9_alloc_pci_controller(struct pci_controller *pcic,
pcic->mem_offset = 0; /* busaddr == physaddr */ pcic->mem_offset = 0; /* busaddr == physaddr */
printk(KERN_INFO "PCI: IO 0x%08llx-0x%08llx MEM 0x%08llx-0x%08llx\n", printk(KERN_INFO "PCI: IO %pR MEM %pR\n",
(unsigned long long)pcic->mem_resource[1].start, &pcic->mem_resource[1], &pcic->mem_resource[0]);
(unsigned long long)pcic->mem_resource[1].end,
(unsigned long long)pcic->mem_resource[0].start,
(unsigned long long)pcic->mem_resource[0].end);
/* register_pci_controller() will request MEM resource */ /* register_pci_controller() will request MEM resource */
release_resource(&pcic->mem_resource[0]); release_resource(&pcic->mem_resource[0]);