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

Commit af5a8ee0 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Jesse Barnes
Browse files

x86/PCI: use -DDEBUG when CONFIG_PCI_DEBUG set



We use dev_dbg() in arch/x86/pci, but there's no easy way to turn it
on.  Add -DDEBUG when CONFIG_PCI_DEBUG=y, just like we do in drivers/pci.

Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent df0e97c6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -16,3 +16,7 @@ obj-$(CONFIG_X86_NUMAQ) += numaq_32.o
obj-y				+= common.o early.o
obj-y				+= amd_bus.o
obj-$(CONFIG_X86_64)		+= intel_bus.o

ifeq ($(CONFIG_PCI_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif