usbcore: move code among source files
This revised patch (as713b) moves a few routines among source files in usbcore. Some driver-related code in usb.c (claiming interfaces and matching IDs) is moved to driver.c, where it belongs. Also the usb_generic stuff in driver.c is moved to a new source file: generic.c. (That's the reason for revising the patch.) Although not very big now, it will get bigger in a later patch. None of the code has been changed; it has only been re-arranged. Signed-off-by:Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/usb/core/Makefile 1 addition, 1 deletiondrivers/usb/core/Makefile
- drivers/usb/core/driver.c 315 additions, 33 deletionsdrivers/usb/core/driver.c
- drivers/usb/core/generic.c 53 additions, 0 deletionsdrivers/usb/core/generic.c
- drivers/usb/core/usb.c 0 additions, 307 deletionsdrivers/usb/core/usb.c
- drivers/usb/core/usb.h 1 addition, 1 deletiondrivers/usb/core/usb.h
Loading
Please register or sign in to comment