aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
31#include <linux/spinlock.h> 31#include <linux/spinlock.h>
32#include <linux/mutex.h> 32#include <linux/mutex.h>
33#include <linux/platform_device.h> 33#include <linux/platform_device.h>
34#include <linux/dynamic_debug.h> 34#include <linux/printk.h>
35 35
36#include <asm/byteorder.h> 36#include <asm/byteorder.h>
37#include <linux/genwqe/genwqe_card.h> 37#include <linux/genwqe/genwqe_card.h>
@@ -69,7 +69,9 @@ static inline void genwqe_hexdump(struct pci_dev *pci_dev,
69 69
70 scnprintf(prefix, sizeof(prefix), "%s %s: ", 70 scnprintf(prefix, sizeof(prefix), "%s %s: ",
71 GENWQE_DEVNAME, pci_name(pci_dev)); 71 GENWQE_DEVNAME, pci_name(pci_dev));
72 dynamic_hex_dump(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, size, true); 72
73 print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff,
74 size, true);
73} 75}
74 76
75#endif /* __GENWQE_DRIVER_H__ */ 77#endif /* __GENWQE_DRIVER_H__ */