]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/hexdump.c
dynamic_debug: dynamic hex dump
[karo-tx-linux.git] / lib / hexdump.c
index 6540d657dca438307106c206f885e0e76fe5792b..3f0494c9d57aaf24cbbea90231e010d1d06f3e04 100644 (file)
@@ -227,6 +227,7 @@ void print_hex_dump(const char *level, const char *prefix_str, int prefix_type,
 }
 EXPORT_SYMBOL(print_hex_dump);
 
+#if !defined(CONFIG_DYNAMIC_DEBUG)
 /**
  * print_hex_dump_bytes - shorthand form of print_hex_dump() with default params
  * @prefix_str: string to prefix each line with;
@@ -246,4 +247,5 @@ void print_hex_dump_bytes(const char *prefix_str, int prefix_type,
                       buf, len, true);
 }
 EXPORT_SYMBOL(print_hex_dump_bytes);
-#endif
+#endif /* !defined(CONFIG_DYNAMIC_DEBUG) */
+#endif /* defined(CONFIG_PRINTK) */