Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58041000 authored by Jamie Lenehan's avatar Jamie Lenehan Committed by Paul Mundt
Browse files

sh: Fix pr_debug statements for sh4



Fix a problem uncovered by the recent change to always check the
arguments to pr_debug. The sh7751 was using the wrong name for the
PCI IO base address.

Signed-off-by: default avatarJamie Lenehan <lenehan@twibble.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 257440b0
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -155,7 +155,7 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map)
	 */
	 */
	pr_debug("PCI: Mapping IO address 0x%x - 0x%x to base 0x%x\n",
	pr_debug("PCI: Mapping IO address 0x%x - 0x%x to base 0x%x\n",
		 PCIBIOS_MIN_IO, (64 << 10),
		 PCIBIOS_MIN_IO, (64 << 10),
		 SH4_PCI_IO_BASE + PCIBIOS_MIN_IO);
		 SH7751_PCI_IO_BASE + PCIBIOS_MIN_IO);


	/*
	/*
	 * XXX: For now, leave this board-specific. In the event we have other
	 * XXX: For now, leave this board-specific. In the event we have other
@@ -163,7 +163,7 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map)
	 */
	 */
#ifdef CONFIG_SH_BIGSUR
#ifdef CONFIG_SH_BIGSUR
	bigsur_port_map(PCIBIOS_MIN_IO, (64 << 10),
	bigsur_port_map(PCIBIOS_MIN_IO, (64 << 10),
			SH4_PCI_IO_BASE + PCIBIOS_MIN_IO, 0);
			SH7751_PCI_IO_BASE + PCIBIOS_MIN_IO, 0);
#endif
#endif


	/* Make sure the MSB's of IO window are set to access PCI space
	/* Make sure the MSB's of IO window are set to access PCI space