diff options
Diffstat (limited to 'drivers/usb/gadget/zero.c')
-rw-r--r-- | drivers/usb/gadget/zero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c index 0f809dd68492..40710ea1b490 100644 --- a/drivers/usb/gadget/zero.c +++ b/drivers/usb/gadget/zero.c | |||
@@ -1190,7 +1190,7 @@ autoconf_fail: | |||
1190 | 1190 | ||
1191 | 1191 | ||
1192 | /* ok, we made sense of the hardware ... */ | 1192 | /* ok, we made sense of the hardware ... */ |
1193 | dev = kzalloc(sizeof(*dev), SLAB_KERNEL); | 1193 | dev = kzalloc(sizeof(*dev), GFP_KERNEL); |
1194 | if (!dev) | 1194 | if (!dev) |
1195 | return -ENOMEM; | 1195 | return -ENOMEM; |
1196 | spin_lock_init (&dev->lock); | 1196 | spin_lock_init (&dev->lock); |