]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86/mmiotrace: uses/depends on PCI
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 12 May 2008 19:20:59 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 09:26:36 +0000 (11:26 +0200)
Don't try to build mmiotrace when CONFIG_PCI=n.

next-20080416/kernel/trace/trace_mmiotrace.c: In function 'mmio_print_pcidev':
next-20080416/kernel/trace/trace_mmiotrace.c:62: error: implicit declaration of function 'pci_dev_driver'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/Kconfig.debug

index b28ace2be1a31f7db6b380a154965ce1f4a33336..1e53df0ba08cdbdbf860e18134903200db2a4aca 100644 (file)
@@ -173,7 +173,7 @@ config MMIOTRACE_HOOKS
 
 config MMIOTRACE
        bool "Memory mapped IO tracing"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && PCI
        select TRACING
        select MMIOTRACE_HOOKS
        default y
@@ -181,7 +181,7 @@ config MMIOTRACE
          Mmiotrace traces Memory Mapped I/O access and is meant for
          debugging and reverse engineering. It is called from the ioremap
          implementation and works via page faults. Tracing is disabled by
-         default and can be enabled run-time.
+         default and can be enabled at run-time.
 
          See Documentation/tracers/mmiotrace.txt.
          If you are not helping to develop drivers, say N.