summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-10-10 19:09:46 +0300
committerRoman Yeryomin <roman@advem.lv>2012-12-03 00:13:25 +0200
commit61a78c8ccc8a694d60bce026cf8131978981e787 (patch)
tree9b33677172ddb778dcd6ba0b08ea40347a09544f /target
parentc1f8d33d3b3563ef77bcaaae3d16921540079ef2 (diff)
Add a patch for usb to compile cleanly
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target')
-rw-r--r--target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch b/target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch
new file mode 100644
index 000000000..30047fd6a
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch
@@ -0,0 +1,12 @@
+--- a/drivers/usb/serial/usb-serial.c 2012-10-08 07:02:14.450118292 +0300
++++ a/drivers/usb/serial/usb-serial.c 2012-10-08 07:02:24.720154214 +0300
+@@ -35,9 +35,7 @@
+ #include <linux/usb/serial.h>
+ #include "pl2303.h"
+
+-#if CONFIG_USB_SERIAL_OPTION
+ #include <linux/smp_lock.h> /* brucehou, 2010/05/21, for lock_kernel & unlock_kernel */
+-#endif
+
+ /*
+ * Version Information