mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
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>
This commit is contained in:
parent
1f1dcbd4f2
commit
af0b129294
@ -6,14 +6,9 @@
|
||||
extern debug_info_t *pci_debug_msg_id;
|
||||
extern debug_info_t *pci_debug_err_id;
|
||||
|
||||
#ifdef CONFIG_PCI_DEBUG
|
||||
#define zpci_dbg(imp, fmt, args...) \
|
||||
debug_sprintf_event(pci_debug_msg_id, imp, fmt, ##args)
|
||||
|
||||
#else /* !CONFIG_PCI_DEBUG */
|
||||
#define zpci_dbg(imp, fmt, args...) do { } while (0)
|
||||
#endif
|
||||
|
||||
#define zpci_err(text...) \
|
||||
do { \
|
||||
char debug_buffer[16]; \
|
||||
|
Loading…
Reference in New Issue
Block a user