diff options
Diffstat (limited to 'drivers/usb/gadget/audio.c')
-rw-r--r-- | drivers/usb/gadget/audio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/audio.c b/drivers/usb/gadget/audio.c index a62af7b59094..5a65fbb4e20b 100644 --- a/drivers/usb/gadget/audio.c +++ b/drivers/usb/gadget/audio.c | |||
@@ -166,13 +166,12 @@ static struct usb_composite_driver audio_driver = { | |||
166 | .name = "g_audio", | 166 | .name = "g_audio", |
167 | .dev = &device_desc, | 167 | .dev = &device_desc, |
168 | .strings = audio_strings, | 168 | .strings = audio_strings, |
169 | .bind = audio_bind, | ||
170 | .unbind = __exit_p(audio_unbind), | 169 | .unbind = __exit_p(audio_unbind), |
171 | }; | 170 | }; |
172 | 171 | ||
173 | static int __init init(void) | 172 | static int __init init(void) |
174 | { | 173 | { |
175 | return usb_composite_register(&audio_driver); | 174 | return usb_composite_probe(&audio_driver, audio_bind); |
176 | } | 175 | } |
177 | module_init(init); | 176 | module_init(init); |
178 | 177 | ||