X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fkernel%2Flantiq%2Fltq-ptm%2Fsrc%2Fifxmips_ptm_adsl.c;h=615affea4f4111a0536a431ab72d7a61e7d194a1;hb=c1316c09a18b2453c7d70c2ad5c363d6932a5737;hp=391d56cf09dd94766ba1a411c73e83809e938bd6;hpb=715b62ebad32a18afca2dab98f2c031136339bb6;p=lede-git%2F.git 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);