summaryrefslogtreecommitdiff
path: root/drivers/misc/genwqe/genwqe_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/genwqe/genwqe_driver.h')
-rw-r--r--drivers/misc/genwqe/genwqe_driver.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/misc/genwqe/genwqe_driver.h b/drivers/misc/genwqe/genwqe_driver.h
index b57538999bf1..46e916b36c70 100644
--- a/drivers/misc/genwqe/genwqe_driver.h
+++ b/drivers/misc/genwqe/genwqe_driver.h
@@ -31,7 +31,7 @@
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>
-#include <linux/dynamic_debug.h>
+#include <linux/printk.h>
#include <asm/byteorder.h>
#include <linux/genwqe/genwqe_card.h>
@@ -69,7 +69,9 @@ static inline void genwqe_hexdump(struct pci_dev *pci_dev,
scnprintf(prefix, sizeof(prefix), "%s %s: ",
GENWQE_DEVNAME, pci_name(pci_dev));
- dynamic_hex_dump(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, size, true);
+
+ print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff,
+ size, true);
}
#endif /* __GENWQE_DRIVER_H__ */