summaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_core.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-03 15:01:37 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-03 15:01:37 -0700
commitf66ef2d0649b220874532dfb83b6b5b368f83591 (patch)
treeb41ef57e89814e50f01e313fb75b9b0aba6fa21a /net/l2tp/l2tp_core.h
parentf481c0d86227156fb1691b166a11c3f0058e1cb2 (diff)
downloadop-kernel-dev-f66ef2d0649b220874532dfb83b6b5b368f83591.zip
op-kernel-dev-f66ef2d0649b220874532dfb83b6b5b368f83591.tar.gz
l2tp: Fix L2TP_DEBUGFS ifdef tests.
We have to check CONFIG_L2TP_DEBUGFS_MODULE as well as CONFIG_L2TP_DEBUGFS. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.h')
-rw-r--r--net/l2tp/l2tp_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.h b/net/l2tp/l2tp_core.h
index a961c77..91b1b9c 100644
--- a/net/l2tp/l2tp_core.h
+++ b/net/l2tp/l2tp_core.h
@@ -133,7 +133,7 @@ struct l2tp_session {
void (*session_close)(struct l2tp_session *session);
void (*ref)(struct l2tp_session *session);
void (*deref)(struct l2tp_session *session);
-#ifdef CONFIG_L2TP_DEBUGFS
+#if defined(CONFIG_L2TP_DEBUGFS) || defined(CONFIG_L2TP_DEBUGFS_MODULE)
void (*show)(struct seq_file *m, void *priv);
#endif
uint8_t priv[0]; /* private data */
OpenPOWER on IntegriCloud