summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch')
-rw-r--r--meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch b/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch
new file mode 100644
index 000000000..e1bc13cf0
--- /dev/null
+++ b/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch
@@ -0,0 +1,36 @@
+diff --git a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c
+index 9357fb2..7e0b6c0 100644
+--- a/drivers/staging/rt2860/rt_linux.c
++++ b/drivers/staging/rt2860/rt_linux.c
+@@ -28,7 +28,7 @@
+ #include <linux/sched.h>
+ #include "rt_config.h"
+
+-unsigned long RTDebugLevel = RT_DEBUG_ERROR;
++unsigned long RTDebugLevel = RT_DEBUG_OFF;
+
+ /* for wireless system event message */
+ char const *pWirelessSysEventText[IW_SYS_EVENT_TYPE_NUM] = {
+diff --git a/drivers/staging/rt2860/rt_linux.h b/drivers/staging/rt2860/rt_linux.h
+index f85508d..92ce551 100644
+--- a/drivers/staging/rt2860/rt_linux.h
++++ b/drivers/staging/rt2860/rt_linux.h
+@@ -425,16 +425,9 @@ do{ \
+
+ #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
+
+-#define DBGPRINT_ERR(Fmt) \
+-{ \
+- printk("ERROR! "); \
+- printk Fmt; \
+-}
++#define DBGPRINT_ERR(Fmt)
+
+-#define DBGPRINT_S(Status, Fmt) \
+-{ \
+- printk Fmt; \
+-}
++#define DBGPRINT_S(Status, Fmt)
+
+ #else
+ #define DBGPRINT(Level, Fmt)