diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch new file mode 100644 index 0000000000..e1bc13cf07 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | diff --git a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c | ||
2 | index 9357fb2..7e0b6c0 100644 | ||
3 | --- a/drivers/staging/rt2860/rt_linux.c | ||
4 | +++ b/drivers/staging/rt2860/rt_linux.c | ||
5 | @@ -28,7 +28,7 @@ | ||
6 | #include <linux/sched.h> | ||
7 | #include "rt_config.h" | ||
8 | |||
9 | -unsigned long RTDebugLevel = RT_DEBUG_ERROR; | ||
10 | +unsigned long RTDebugLevel = RT_DEBUG_OFF; | ||
11 | |||
12 | /* for wireless system event message */ | ||
13 | char const *pWirelessSysEventText[IW_SYS_EVENT_TYPE_NUM] = { | ||
14 | diff --git a/drivers/staging/rt2860/rt_linux.h b/drivers/staging/rt2860/rt_linux.h | ||
15 | index f85508d..92ce551 100644 | ||
16 | --- a/drivers/staging/rt2860/rt_linux.h | ||
17 | +++ b/drivers/staging/rt2860/rt_linux.h | ||
18 | @@ -425,16 +425,9 @@ do{ \ | ||
19 | |||
20 | #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt) | ||
21 | |||
22 | -#define DBGPRINT_ERR(Fmt) \ | ||
23 | -{ \ | ||
24 | - printk("ERROR! "); \ | ||
25 | - printk Fmt; \ | ||
26 | -} | ||
27 | +#define DBGPRINT_ERR(Fmt) | ||
28 | |||
29 | -#define DBGPRINT_S(Status, Fmt) \ | ||
30 | -{ \ | ||
31 | - printk Fmt; \ | ||
32 | -} | ||
33 | +#define DBGPRINT_S(Status, Fmt) | ||
34 | |||
35 | #else | ||
36 | #define DBGPRINT(Level, Fmt) | ||