]> git.karo-electronics.de Git - linux-beck.git/commitdiff
GenWQE: Replace dynamic_hex_dump with print_hex_dump_debug
authorFrank Haverkamp <haver@linux.vnet.ibm.com>
Fri, 20 Dec 2013 15:26:11 +0000 (16:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 16:47:29 +0000 (08:47 -0800)
As requested by Greg, replacing the hexdump function from dynamic_debug.h
with one defined in printk.h. I hope I picked the right one.

Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/genwqe/genwqe_driver.h

index b57538999bf1e7a72cb9abc27ea71639b10e6337..46e916b36c708989a24a72cf40fe11c2adb6da11 100644 (file)
@@ -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__ */