diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-06 14:42:52 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-06 14:42:52 -0500 |
commit | ff4b8a57f0aaa2882d444ca44b2b9b333d22a4df (patch) | |
tree | d851c923f85566572112d4c0f884cff388a3cc05 /drivers/usb/misc/ldusb.c | |
parent | 805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff) | |
parent | ea04018e6bc5ddb2f0466c0e5b986bd4901b7e8e (diff) |
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>
Diffstat (limited to 'drivers/usb/misc/ldusb.c')
-rw-r--r-- | drivers/usb/misc/ldusb.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c index 48c166f0d764..5db4ab52061e 100644 --- a/drivers/usb/misc/ldusb.c +++ b/drivers/usb/misc/ldusb.c | |||
@@ -821,30 +821,5 @@ static struct usb_driver ld_usb_driver = { | |||
821 | .id_table = ld_usb_table, | 821 | .id_table = ld_usb_table, |
822 | }; | 822 | }; |
823 | 823 | ||
824 | /** | 824 | module_usb_driver(ld_usb_driver); |
825 | * ld_usb_init | ||
826 | */ | ||
827 | static int __init ld_usb_init(void) | ||
828 | { | ||
829 | int retval; | ||
830 | |||
831 | /* register this driver with the USB subsystem */ | ||
832 | retval = usb_register(&ld_usb_driver); | ||
833 | if (retval) | ||
834 | err("usb_register failed for the %s driver. Error number %d\n", __FILE__, retval); | ||
835 | |||
836 | return retval; | ||
837 | } | ||
838 | |||
839 | /** | ||
840 | * ld_usb_exit | ||
841 | */ | ||
842 | static void __exit ld_usb_exit(void) | ||
843 | { | ||
844 | /* deregister this driver with the USB subsystem */ | ||
845 | usb_deregister(&ld_usb_driver); | ||
846 | } | ||
847 | |||
848 | module_init(ld_usb_init); | ||
849 | module_exit(ld_usb_exit); | ||
850 | 825 | ||