Re: [PATCH] obsolete config in kernel source (USB_GADGET_*)

From: Christoph Egger
Date: Fri Feb 05 2010 - 07:24:13 EST


On Fri, Jan 15, 2010 at 09:46:00AM -0500, Alan Stern wrote:
> On Fri, 15 Jan 2010, Christoph Egger wrote:
> > The linux tree contains USB-Id assignment snippets for some
> > USB Gadget drivers, which, as far as I can tell, never worked on
> > mainline linux2.6 but either originate from seemingly long-dead
> > third-party trees or were never ported from linux2.4.
> >
> > As there has also seemingly never existed a way to select
> > these configs in the KConfig system it might be time to get rid of
> > them which would be done by the attached patch.
>
> Have you tried building g_file_storage and the other gadget drivers
> after applying your patch?

You're right. I ony checked whether the first few were still
needed somewhere in code and assumed equal status for all of
them. SHould have at least build-tested all that stuff before sending
(and doing so now).

Below is a updated patch that should be more correct and does
also build (tested against mainline git).

Regards

Christoph

----