]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/gadget/hid.c
Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6
[karo-tx-linux.git] / drivers / usb / gadget / hid.c
index 775722686ed85143cd89d159cc4e61385b64417f..735495bf8411b81c5ee7ff1ab4a38177dadd78dc 100644 (file)
@@ -127,7 +127,7 @@ static struct usb_gadget_strings *dev_strings[] = {
 
 /****************************** Configurations ******************************/
 
-static int __init do_config(struct usb_configuration *c)
+static int __ref do_config(struct usb_configuration *c)
 {
        struct hidg_func_node *e;
        int func = 0, status = 0;
@@ -156,7 +156,7 @@ static struct usb_configuration config_driver = {
 
 /****************************** Gadget Bind ******************************/
 
-static int __init hid_bind(struct usb_composite_dev *cdev)
+static int __ref hid_bind(struct usb_composite_dev *cdev)
 {
        struct usb_gadget *gadget = cdev->gadget;
        struct list_head *tmp;