diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-03 15:01:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 15:01:37 -0700 |
commit | f66ef2d0649b220874532dfb83b6b5b368f83591 (patch) | |
tree | b41ef57e89814e50f01e313fb75b9b0aba6fa21a /net/l2tp/l2tp_core.h | |
parent | f481c0d86227156fb1691b166a11c3f0058e1cb2 (diff) | |
download | lwn-f66ef2d0649b220874532dfb83b6b5b368f83591.tar.gz lwn-f66ef2d0649b220874532dfb83b6b5b368f83591.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.h b/net/l2tp/l2tp_core.h index a961c77e0867..91b1b9ca5cfa 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 */ |