Commit 61a948c4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] usb linkage fix

On sparc64 toolchain:

drivers/built-in.o(.init.text+0xaf8c): In function `usb_init':
: undefined reference to `usbfs_cleanup'

usb_init() is __init and usbfs_cleanup() is __exit.  No can do.
parent 5b0e59c8
......@@ -766,7 +766,7 @@ int __init usbfs_init(void)
return 0;
}
void __exit usbfs_cleanup(void)
void usbfs_cleanup(void)
{
usb_deregister(&usbdevfs_driver);
unregister_filesystem(&usb_fs_type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment