Re: [patch] 2.5.70-mm3: usb_gadget_* several times defined

David Brownell (david-b@pacbell.net)
Sat, 31 May 2003 16:41:37 -0700


Adrian Bunk wrote:

>
> The following patch fixes it (drivers/usb/Makefile now includes gadget/
> entries):

No, the better fix is to revert whatever change added
USB_GADGET into drivers/usb/Makefile ... the slave/gadget
side API needs to be independent of the master/host side
code.

> --- linux-2.5.70-mm3/drivers/Makefile.old 2003-05-31 23:00:25.000000000 +0200
> +++ linux-2.5.70-mm3/drivers/Makefile 2003-05-31 23:00:44.000000000 +0200
> @@ -37,7 +37,6 @@
> obj-$(CONFIG_PARIDE) += block/paride/
> obj-$(CONFIG_TC) += tc/
> obj-$(CONFIG_USB) += usb/
> -obj-$(CONFIG_USB_GADGET) += usb/gadget/
> obj-$(CONFIG_INPUT) += input/
> obj-$(CONFIG_GAMEPORT) += input/gameport/
> obj-$(CONFIG_SERIO) += input/serio/
>
>
>
> cu
> Adrian
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/