]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: usb debug port early console, fix
authorIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 15:28:11 +0000 (17:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 15:32:30 +0000 (17:32 +0200)
fix:

 arch/x86/kernel/built-in.o: In function `nvidia_set_debug_port':
 early_printk.c:(.text+0xf8b1): undefined reference to `read_pci_config'
 early_printk.c:(.text+0xf8dc): undefined reference to `write_pci_config'
 arch/x86/kernel/built-in.o: In function `setup_early_printk':
 early_printk.c:(.init.text+0x5487): undefined reference to `early_pci_allowed'
 early_printk.c:(.init.text+0x54cb): undefined reference to `read_pci_config'
 early_printk.c:(.init.text+0x54ec): undefined reference to `read_pci_config_16'
 [...]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig.debug

index 93422d2ecf617c6b7ac70ac1a20dd7f174780175..2a3dfbd5e677b548e5e75f43da69e934b90a7eff 100644 (file)
@@ -46,7 +46,7 @@ config EARLY_PRINTK
 config EARLY_PRINTK_DBGP
        bool "Early printk via EHCI debug port"
        default n
-       depends on EARLY_PRINTK
+       depends on EARLY_PRINTK && PCI
        help
          Write kernel log output directly into the EHCI debug port.