From e643961f1f6b5e0c1133eb23bb9121f1d057dda2 Mon Sep 17 00:00:00 2001 From: Jason Baron Date: Tue, 4 Oct 2011 14:13:22 -0700 Subject: [PATCH] --- yaml --- r: 264883 b: refs/heads/master c: 0feefd97861f9b38accf09a12f8d323f2705e917 h: refs/heads/master i: 264881: 3f40f20b9f1aae4bab2f9ab4b100dedc55fb2e1d 264879: 6688c6a4adab16c560006e3b8d5e1cbb0a641757 v: v3 --- [refs] | 2 +- trunk/lib/dynamic_debug.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 71cb83146643..7c675c711d84 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 431625dac14de7152235f2f9934d70a9b0f9df83 +refs/heads/master: 0feefd97861f9b38accf09a12f8d323f2705e917 diff --git a/trunk/lib/dynamic_debug.c b/trunk/lib/dynamic_debug.c index edec78052333..cb4b74548a3d 100644 --- a/trunk/lib/dynamic_debug.c +++ b/trunk/lib/dynamic_debug.c @@ -503,6 +503,8 @@ int __dynamic_dev_dbg(struct _ddebug *descriptor, } EXPORT_SYMBOL(__dynamic_dev_dbg); +#ifdef CONFIG_NET + int __dynamic_netdev_dbg(struct _ddebug *descriptor, const struct net_device *dev, const char *fmt, ...) { @@ -524,6 +526,8 @@ int __dynamic_netdev_dbg(struct _ddebug *descriptor, } EXPORT_SYMBOL(__dynamic_netdev_dbg); +#endif + static __initdata char ddebug_setup_string[1024]; static __init int ddebug_setup_query(char *str) {