USB: Fix makefile so that CONFIG_WDM and CONFIG_TMC work.
authorAndy Lutomirski <amluto@gmail.com>
Tue, 28 Apr 2009 19:53:02 +0000 (15:53 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 May 2009 02:34:56 +0000 (19:34 -0700)
If CONFIG_USB_ACM and CONFIG_USB_PRINTER are not set, then
cdc-wdm and usbtmc won't get built.

Signed-off-by: Andy Lutomirski <amluto@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/Makefile

index 89299a5ce1688cbf114f2ee68993cdca6febc619..0716cdb44cd86e51d630f6bf9e08518af5bb33ed 100644 (file)
@@ -27,6 +27,8 @@ obj-$(CONFIG_USB_WUSB)                += wusbcore/
 
 obj-$(CONFIG_USB_ACM)          += class/
 obj-$(CONFIG_USB_PRINTER)      += class/
+obj-$(CONFIG_USB_WDM)          += class/
+obj-$(CONFIG_USB_TMC)          += class/
 
 obj-$(CONFIG_USB_STORAGE)      += storage/
 obj-$(CONFIG_USB)              += storage/