summaryrefslogtreecommitdiff
path: root/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-07 20:13:32 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-07 20:13:32 +0000
commit48b26179d95495f157377be27e0ffe9b8d31e0e1 (patch)
tree4b4633329c4a66cd3b476d9f70d1b76571befd00 /package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
parent64cf5071838453545fc92d0d5797fac60bd5ff42 (diff)
lantiq: fix ltq_ptm compile
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38329 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c')
-rw-r--r--package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
index 391d56cf09..615affea4f 100644
--- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
+++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
@@ -815,6 +815,7 @@ static void skb_swap(struct sk_buff *skb)
static INLINE void proc_file_create(void)
{
+#if defined(ENABLE_DBG_PROC) && ENABLE_DBG_PROC
struct proc_dir_entry *res;
g_ptm_dir = proc_mkdir("driver/ifx_ptm", NULL);
@@ -849,7 +850,6 @@ static INLINE void proc_file_create(void)
#endif
#endif
-#if defined(ENABLE_DBG_PROC) && ENABLE_DBG_PROC
res = create_proc_entry("dbg",
0,
g_ptm_dir);