USB: mark USB drivers as being GPL only
Over two years ago, the Linux USB developers stated that they believed there was no way to create a USB kernel driver that was not under the GPL. This patch moves the USB apis to enforce that decision. There are no known closed source USB drivers in the wild, so this patch should cause no problems. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@ -204,7 +204,7 @@ int usb_register_dev(struct usb_interface *intf,
|
||||
exit:
|
||||
return retval;
|
||||
}
|
||||
EXPORT_SYMBOL(usb_register_dev);
|
||||
EXPORT_SYMBOL_GPL(usb_register_dev);
|
||||
|
||||
/**
|
||||
* usb_deregister_dev - deregister a USB device's dynamic minor.
|
||||
@ -245,4 +245,4 @@ void usb_deregister_dev(struct usb_interface *intf,
|
||||
intf->minor = -1;
|
||||
destroy_usb_class();
|
||||
}
|
||||
EXPORT_SYMBOL(usb_deregister_dev);
|
||||
EXPORT_SYMBOL_GPL(usb_deregister_dev);
|
||||
|
Reference in New Issue
Block a user