diff options
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.31.5/close_debug_info_of_rt2860.patch')
-rw-r--r-- | meta-moblin/packages/linux/linux-moblin-2.6.31.5/close_debug_info_of_rt2860.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.31.5/close_debug_info_of_rt2860.patch b/meta-moblin/packages/linux/linux-moblin-2.6.31.5/close_debug_info_of_rt2860.patch new file mode 100644 index 0000000000..4aa8469042 --- /dev/null +++ b/meta-moblin/packages/linux/linux-moblin-2.6.31.5/close_debug_info_of_rt2860.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | diff --git a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c | ||
2 | index 80176b2..fc682be 100644 | ||
3 | --- a/drivers/staging/rt2860/rt_linux.c | ||
4 | +++ b/drivers/staging/rt2860/rt_linux.c | ||
5 | @@ -27,7 +27,7 @@ | ||
6 | |||
7 | #include "rt_config.h" | ||
8 | |||
9 | -ULONG RTDebugLevel = RT_DEBUG_ERROR; | ||
10 | +ULONG RTDebugLevel = RT_DEBUG_OFF; | ||
11 | |||
12 | BUILD_TIMER_FUNCTION(MlmePeriodicExec); | ||
13 | BUILD_TIMER_FUNCTION(AsicRxAntEvalTimeout); | ||
14 | diff --git a/drivers/staging/rt2860/rt_linux.h b/drivers/staging/rt2860/rt_linux.h | ||
15 | index 25b53ac..56ac9ac 100644 | ||
16 | --- a/drivers/staging/rt2860/rt_linux.h | ||
17 | +++ b/drivers/staging/rt2860/rt_linux.h | ||
18 | @@ -375,18 +375,9 @@ extern ULONG RTDebugLevel; | ||
19 | |||
20 | #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt) | ||
21 | |||
22 | +#define DBGPRINT_ERR(Fmt) | ||
23 | |||
24 | -#define DBGPRINT_ERR(Fmt) \ | ||
25 | -{ \ | ||
26 | - printk("ERROR!!! "); \ | ||
27 | - printk Fmt; \ | ||
28 | -} | ||
29 | - | ||
30 | -#define DBGPRINT_S(Status, Fmt) \ | ||
31 | -{ \ | ||
32 | - printk Fmt; \ | ||
33 | -} | ||
34 | - | ||
35 | +#define DBGPRINT_S(Status, Fmt) | ||
36 | |||
37 | #else | ||
38 | #define DBGPRINT(Level, Fmt) | ||