From 61a78c8ccc8a694d60bce026cf8131978981e787 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Wed, 10 Oct 2012 19:09:46 +0300 Subject: Add a patch for usb to compile cleanly Signed-off-by: Roman Yeryomin --- .../300-dont-ask-for-usb-serial-option-define.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/realtek/patches-2.6.30/300-dont-ask-for-usb-serial-option-define.patch 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 + #include "pl2303.h" + +-#if CONFIG_USB_SERIAL_OPTION + #include /* brucehou, 2010/05/21, for lock_kernel & unlock_kernel */ +-#endif + + /* + * Version Information -- cgit v1.2.3