summaryrefslogtreecommitdiff
path: root/package/kernel/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-10-07 20:13:32 +0000
committerJohn Crispin <john@openwrt.org>2013-10-07 20:13:32 +0000
commitc1316c09a18b2453c7d70c2ad5c363d6932a5737 (patch)
treeae0658b78fd8fad6efca38a9794ae4d2be441d1e /package/kernel/lantiq
parent715b62ebad32a18afca2dab98f2c031136339bb6 (diff)
downloadmtk-20170518-c1316c09a18b2453c7d70c2ad5c363d6932a5737.zip
mtk-20170518-c1316c09a18b2453c7d70c2ad5c363d6932a5737.tar.gz
mtk-20170518-c1316c09a18b2453c7d70c2ad5c363d6932a5737.tar.bz2
lantiq: fix ltq_ptm compile
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38329
Diffstat (limited to 'package/kernel/lantiq')
-rw-r--r--package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c2
-rw-r--r--package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_common.h2
2 files changed, 2 insertions, 2 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 391d56c..615affe 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);
diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_common.h b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_common.h
index ccd19b1..00d4177 100644
--- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_common.h
+++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_common.h
@@ -58,7 +58,7 @@
#define DEBUG_QOS 1
-#define ENABLE_DBG_PROC 1
+#define ENABLE_DBG_PROC 0
#define ENABLE_FW_PROC 1