mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
Merge branch 'driver-core-next' into Linux 3.2
This resolves the conflict in the arch/arm/mach-s3c64xx/s3c6400.c file, and it fixes the build error in the arch/x86/kernel/microcode_core.c file, that the merge did not catch. The microcode_core.c patch was provided by Stephen Rothwell <sfr@canb.auug.org.au> who was invaluable in the merge issues involved with the large sysdev removal process in the driver-core tree. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
commit
ff4b8a57f0
518 changed files with 3167 additions and 6887 deletions
|
@ -425,6 +425,9 @@ int usbnet_cdc_bind(struct usbnet *dev, struct usb_interface *intf)
|
|||
int status;
|
||||
struct cdc_state *info = (void *) &dev->data;
|
||||
|
||||
BUILD_BUG_ON((sizeof(((struct usbnet *)0)->data)
|
||||
< sizeof(struct cdc_state)));
|
||||
|
||||
status = usbnet_generic_cdc_bind(dev, intf);
|
||||
if (status < 0)
|
||||
return status;
|
||||
|
@ -615,21 +618,7 @@ static struct usb_driver cdc_driver = {
|
|||
.supports_autosuspend = 1,
|
||||
};
|
||||
|
||||
|
||||
static int __init cdc_init(void)
|
||||
{
|
||||
BUILD_BUG_ON((sizeof(((struct usbnet *)0)->data)
|
||||
< sizeof(struct cdc_state)));
|
||||
|
||||
return usb_register(&cdc_driver);
|
||||
}
|
||||
module_init(cdc_init);
|
||||
|
||||
static void __exit cdc_exit(void)
|
||||
{
|
||||
usb_deregister(&cdc_driver);
|
||||
}
|
||||
module_exit(cdc_exit);
|
||||
module_usb_driver(cdc_driver);
|
||||
|
||||
MODULE_AUTHOR("David Brownell");
|
||||
MODULE_DESCRIPTION("USB CDC Ethernet devices");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue