X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=lib%2Fhexdump.c;h=3f0494c9d57aaf24cbbea90231e010d1d06f3e04;hb=9626357371b519f2b955fef399647181034a77fe;hp=6540d657dca438307106c206f885e0e76fe5792b;hpb=645832cce2955bdcd0c3166478b84ea7afd0ea53;p=~andy%2Flinux diff --git a/lib/hexdump.c b/lib/hexdump.c index 6540d657dca..3f0494c9d57 100644 --- a/lib/hexdump.c +++ b/lib/hexdump.c @@ -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) */