diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-10-22 09:18:14 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 11:17:16 -0400 |
commit | af0b129294cd715765e81d66000547c4026297c4 (patch) | |
tree | e29f6510192c8c91d444c03531c5ad7e60e95257 /arch/s390/include/asm/pci_debug.h | |
parent | 1f1dcbd4f23bd1f3bef7c000bfe46e85e4b66726 (diff) |
s390/pci: remove CONFIG_PCI_DEBUG dependancy
Add debugfs entries regardless of CONFIG_PCI_DEBUG.
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci_debug.h')
-rw-r--r-- | arch/s390/include/asm/pci_debug.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/s390/include/asm/pci_debug.h b/arch/s390/include/asm/pci_debug.h index 1ca5d1047c71..ac24b26fc065 100644 --- a/arch/s390/include/asm/pci_debug.h +++ b/arch/s390/include/asm/pci_debug.h | |||
@@ -6,14 +6,9 @@ | |||
6 | extern debug_info_t *pci_debug_msg_id; | 6 | extern debug_info_t *pci_debug_msg_id; |
7 | extern debug_info_t *pci_debug_err_id; | 7 | extern debug_info_t *pci_debug_err_id; |
8 | 8 | ||
9 | #ifdef CONFIG_PCI_DEBUG | ||
10 | #define zpci_dbg(imp, fmt, args...) \ | 9 | #define zpci_dbg(imp, fmt, args...) \ |
11 | debug_sprintf_event(pci_debug_msg_id, imp, fmt, ##args) | 10 | debug_sprintf_event(pci_debug_msg_id, imp, fmt, ##args) |
12 | 11 | ||
13 | #else /* !CONFIG_PCI_DEBUG */ | ||
14 | #define zpci_dbg(imp, fmt, args...) do { } while (0) | ||
15 | #endif | ||
16 | |||
17 | #define zpci_err(text...) \ | 12 | #define zpci_err(text...) \ |
18 | do { \ | 13 | do { \ |
19 | char debug_buffer[16]; \ | 14 | char debug_buffer[16]; \ |