Commit 143f0f659986f921731ab340d9415be479762c1a
Committed by
Ralf Baechle
1 parent
ad8c396936
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
MIPS: Alchemy: Fix typo "CONFIG_DEBUG_PCI"
Commit 7517de348663b08a808aff44b5300e817157a568 ("MIPS: Alchemy: Redo PCI as platform driver") added a reference to CONFIG_DEBUG_PCI. Change it to CONFIG_PCI_DEBUG, as that is a valid Kconfig macro. Also add a newline to a debugging printk that this fix enables. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
arch/mips/pci/pci-alchemy.c
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | #include <asm/mach-au1x00/au1000.h> |
20 | 20 | #include <asm/tlbmisc.h> |
21 | 21 | |
22 | -#ifdef CONFIG_DEBUG_PCI | |
22 | +#ifdef CONFIG_PCI_DEBUG | |
23 | 23 | #define DBG(x...) printk(KERN_DEBUG x) |
24 | 24 | #else |
25 | 25 | #define DBG(x...) do {} while (0) |
... | ... | @@ -162,7 +162,7 @@ |
162 | 162 | if (status & (1 << 29)) { |
163 | 163 | *data = 0xffffffff; |
164 | 164 | error = -1; |
165 | - DBG("alchemy-pci: master abort on cfg access %d bus %d dev %d", | |
165 | + DBG("alchemy-pci: master abort on cfg access %d bus %d dev %d\n", | |
166 | 166 | access_type, bus->number, device); |
167 | 167 | } else if ((status >> 28) & 0xf) { |
168 | 168 | DBG("alchemy-pci: PCI ERR detected: dev %d, status %lx\n", |