From 48b26179d95495f157377be27e0ffe9b8d31e0e1 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 7 Oct 2013 20:13:32 +0000 Subject: lantiq: fix ltq_ptm compile Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38329 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c | 2 +- package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_common.h | 2 +- 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 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); 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 ccd19b189b..00d4177225 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 -- cgit v1.2.3