Re: [PATCH v2][for 3.16 0/3] Gadget directory cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Jun 17, 2014 at 02:19:14PM +0200, Andrzej Pietrasiewicz wrote:
> This is a follow-up to this thread:
> 
> http://www.spinics.net/lists/linux-usb/msg107611.html
> 
> This refactoring has been accepted well, so I am sending it
> once 3.16-rc1 is out in order to make it easy to apply it.
> 
> The cleanup rearranges the way source code files are located in the
> drivers/usb/gadget directory. New subdirectories are introduced:
> 
> - "udc" for UDC chip drivers
> - "function" for actual usb functions' implementations
> - "legacy" for gadgets compiled as statically composed modules
> 
> while at the gadget's root level there are files related to the composite
> framework.
> 
> These are the reasons for doing such a change:
> 
> - there are ~130 source code files already in a clean tree
> 
> - when all gadgets and some udc drivers are built as modules then,
> including the by-products of the build (*.o, *.ko, *.mod.c, .*.cmd),
> the number easily grows to ~500 files
> 
> - files serving different purpose (udc chip drivers, actual gadget functions'
> implementations, legacy gadgets) are located side-by-side which might cause
> confusion
> 
> - gadget's Kconfig and Makefile tend to be lengthy.
> 
> After the patches are applied the gadget subdirectory looks much cleaner.
> 
> Rebased onto Greg's usb-next.

please rebase on my testing/next, doesn't apply.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux