diff options
Diffstat (limited to 'lib/dynamic_debug.c')
-rw-r--r-- | lib/dynamic_debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index edec78052333..cb4b74548a3d 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c | |||
@@ -503,6 +503,8 @@ int __dynamic_dev_dbg(struct _ddebug *descriptor, | |||
503 | } | 503 | } |
504 | EXPORT_SYMBOL(__dynamic_dev_dbg); | 504 | EXPORT_SYMBOL(__dynamic_dev_dbg); |
505 | 505 | ||
506 | #ifdef CONFIG_NET | ||
507 | |||
506 | int __dynamic_netdev_dbg(struct _ddebug *descriptor, | 508 | int __dynamic_netdev_dbg(struct _ddebug *descriptor, |
507 | const struct net_device *dev, const char *fmt, ...) | 509 | const struct net_device *dev, const char *fmt, ...) |
508 | { | 510 | { |
@@ -524,6 +526,8 @@ int __dynamic_netdev_dbg(struct _ddebug *descriptor, | |||
524 | } | 526 | } |
525 | EXPORT_SYMBOL(__dynamic_netdev_dbg); | 527 | EXPORT_SYMBOL(__dynamic_netdev_dbg); |
526 | 528 | ||
529 | #endif | ||
530 | |||
527 | static __initdata char ddebug_setup_string[1024]; | 531 | static __initdata char ddebug_setup_string[1024]; |
528 | static __init int ddebug_setup_query(char *str) | 532 | static __init int ddebug_setup_query(char *str) |
529 | { | 533 | { |