From 239a368d5715d8f5b7733f9400339c2350c49369 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Fri, 24 Sep 2010 15:36:24 -0700 Subject: netbook: Correct netbook build by moving netbook configuration from moblin to meta Signed-off-by: Saul Wold --- .../linux-2.6.34-rt2860-no-debug.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch (limited to 'meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-rt2860-no-debug.patch') 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 000000000..e1bc13cf0 --- /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 @@ +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 + #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) -- cgit v1.2.3