diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-10-10 19:09:46 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2013-05-26 00:46:39 +0300 |
commit | 74490d7e34457bdd45743ad8cc78b349351abc28 (patch) | |
tree | b2117a45d59bac99d718046f97b796e559d5207a /target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch | |
parent | 412c781600fa41c0133de2e0fb4af9e9ef3f08b5 (diff) |
Add a patch for usb to compile cleanly
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch')
-rw-r--r-- | target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch | 12 |
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 |