mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-18 21:16:54 +00:00
lantiq: fix ltq_ptm compile
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38329
This commit is contained in:
parent
715b62ebad
commit
c1316c09a1
@ -815,6 +815,7 @@ static void skb_swap(struct sk_buff *skb)
|
|||||||
|
|
||||||
static INLINE void proc_file_create(void)
|
static INLINE void proc_file_create(void)
|
||||||
{
|
{
|
||||||
|
#if defined(ENABLE_DBG_PROC) && ENABLE_DBG_PROC
|
||||||
struct proc_dir_entry *res;
|
struct proc_dir_entry *res;
|
||||||
|
|
||||||
g_ptm_dir = proc_mkdir("driver/ifx_ptm", NULL);
|
g_ptm_dir = proc_mkdir("driver/ifx_ptm", NULL);
|
||||||
@ -849,7 +850,6 @@ static INLINE void proc_file_create(void)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ENABLE_DBG_PROC) && ENABLE_DBG_PROC
|
|
||||||
res = create_proc_entry("dbg",
|
res = create_proc_entry("dbg",
|
||||||
0,
|
0,
|
||||||
g_ptm_dir);
|
g_ptm_dir);
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
#define DEBUG_QOS 1
|
#define DEBUG_QOS 1
|
||||||
|
|
||||||
#define ENABLE_DBG_PROC 1
|
#define ENABLE_DBG_PROC 0
|
||||||
|
|
||||||
#define ENABLE_FW_PROC 1
|
#define ENABLE_FW_PROC 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user