[2.6 patch] always visit drivers/usb/misc/

Previous thread: Do not deprecate binary semaphore or do allow mutex in software interrupt contexts by Matti Linnanvuori on Tuesday, September 11, 2007 - 9:20 am. (3 messages)

Next thread: [RFC+PATCH] RTC calibration by des on Tuesday, September 11, 2007 - 9:48 am. (12 messages)
To: <sean@...>
Cc: <linux-kernel@...>, <gregkh@...>
Date: Tuesday, September 11, 2007 - 10:06 am

[Empty message]
To: Toralf <toralf.foerster@...>
Cc: <sean@...>, <linux-kernel@...>, <gregkh@...>, <linux-usb-devel@...>
Date: Tuesday, September 11, 2007 - 1:10 pm

The patch below fixes this constant source of problems.

<-- snip -->

Currently, every driver under drivers/usb/misc/ also has to be listed in
drivers/usb/Makefile. This has been forgotten more than once, and this
patch changes drivers/usb/Makefile to simply always visit
drivers/usb/misc/ when building the USB code.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

drivers/usb/Makefile | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)

e03ef8eb70600ef876dda2cc30814e25b7d7fb07
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index ac49b15..516a640 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -28,27 +28,7 @@ obj-$(CONFIG_USB_MICROTEK) += image/

obj-$(CONFIG_USB_SERIAL) += serial/

-obj-$(CONFIG_USB_ADUTUX) += misc/
-obj-$(CONFIG_USB_APPLEDISPLAY) += misc/
-obj-$(CONFIG_USB_AUERSWALD) += misc/
-obj-$(CONFIG_USB_BERRY_CHARGE) += misc/
-obj-$(CONFIG_USB_CYPRESS_CY7C63)+= misc/
-obj-$(CONFIG_USB_CYTHERM) += misc/
-obj-$(CONFIG_USB_EMI26) += misc/
-obj-$(CONFIG_USB_EMI62) += misc/
-obj-$(CONFIG_USB_FTDI_ELAN) += misc/
-obj-$(CONFIG_USB_IDMOUSE) += misc/
-obj-$(CONFIG_USB_LCD) += misc/
-obj-$(CONFIG_USB_LD) += misc/
-obj-$(CONFIG_USB_LED) += misc/
-obj-$(CONFIG_USB_LEGOTOWER) += misc/
-obj-$(CONFIG_USB_PHIDGETSERVO) += misc/
-obj-$(CONFIG_USB_RIO500) += misc/
-obj-$(CONFIG_USB_SISUSBVGA) += misc/
-obj-$(CONFIG_USB_TEST) += misc/
-obj-$(CONFIG_USB_TRANCEVIBRATOR)+= misc/
-obj-$(CONFIG_USB_USS720) += misc/
-obj-$(CONFIG_USB_IOWARRIOR) += misc/
+obj-$(CONFIG_USB) += misc/

obj-$(CONFIG_USB_ATM) += atm/
obj-$(CONFIG_USB_SPEEDTOUCH) += atm/

-

To: Adrian Bunk <bunk@...>
Cc: <toralf.foerster@...>, <sean@...>, <linux-kernel@...>, <gregkh@...>, <linux-usb-devel@...>
Date: Tuesday, September 11, 2007 - 2:36 pm

On 9/11/07, Adrian Bunk <bunk@kernel.org> wrote:

Previous thread: Do not deprecate binary semaphore or do allow mutex in software interrupt contexts by Matti Linnanvuori on Tuesday, September 11, 2007 - 9:20 am. (3 messages)

Next thread: [RFC+PATCH] RTC calibration by des on Tuesday, September 11, 2007 - 9:48 am. (12 messages)