diff options
Diffstat (limited to 'drivers/usb/gadget/hid.c')
| -rw-r--r-- | drivers/usb/gadget/hid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/hid.c b/drivers/usb/gadget/hid.c index 775722686ed8..735495bf8411 100644 --- a/drivers/usb/gadget/hid.c +++ b/drivers/usb/gadget/hid.c | |||
| @@ -127,7 +127,7 @@ static struct usb_gadget_strings *dev_strings[] = { | |||
| 127 | 127 | ||
| 128 | /****************************** Configurations ******************************/ | 128 | /****************************** Configurations ******************************/ |
| 129 | 129 | ||
| 130 | static int __init do_config(struct usb_configuration *c) | 130 | static int __ref do_config(struct usb_configuration *c) |
| 131 | { | 131 | { |
| 132 | struct hidg_func_node *e; | 132 | struct hidg_func_node *e; |
| 133 | int func = 0, status = 0; | 133 | int func = 0, status = 0; |
| @@ -156,7 +156,7 @@ static struct usb_configuration config_driver = { | |||
| 156 | 156 | ||
| 157 | /****************************** Gadget Bind ******************************/ | 157 | /****************************** Gadget Bind ******************************/ |
| 158 | 158 | ||
| 159 | static int __init hid_bind(struct usb_composite_dev *cdev) | 159 | static int __ref hid_bind(struct usb_composite_dev *cdev) |
| 160 | { | 160 | { |
| 161 | struct usb_gadget *gadget = cdev->gadget; | 161 | struct usb_gadget *gadget = cdev->gadget; |
| 162 | struct list_head *tmp; | 162 | struct list_head *tmp; |
