diff options
author | Junhao He <hejunhao2@hisilicon.com> | 2021-02-04 14:30:15 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-02-10 00:10:20 +0300 |
commit | e8e9aababe60a12928172b5f018d15de3c2cdf31 (patch) | |
tree | 61290fdf385c5b462bddbae5c8635860fcb4e63a /drivers/pci/search.c | |
parent | 8f1fc1c15329a9d53bde5636e85ca98ece2ec7bd (diff) | |
download | linux-e8e9aababe60a12928172b5f018d15de3c2cdf31.tar.xz |
PCI: Apply CONFIG_PCI_DEBUG to entire drivers/pci hierarchy
CONFIG_PCI_DEBUG=y adds -DDEBUG to CFLAGS, which enables things like
pr_debug() and dev_dbg() (and hence pci_dbg()). Previously we added
-DDEBUG for files in drivers/pci/, but not files in subdirectories of
drivers/pci/.
Add -DDEBUG to CFLAGS for all files below drivers/pci/ so CONFIG_PCI_DEBUG
applies to the entire hierarchy.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/1612438215-33105-1-git-send-email-yangyicong@hisilicon.com
Signed-off-by: Junhao He <hejunhao2@hisilicon.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof WilczyĆski <kw@linux.com>
Diffstat (limited to 'drivers/pci/search.c')
0 files changed, 0 insertions, 0 deletions