diff options
Diffstat (limited to 'sound/core/device.c')
| -rw-r--r-- | sound/core/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/device.c b/sound/core/device.c index 80c02914877f..5f2aa476d89b 100644 --- a/sound/core/device.c +++ b/sound/core/device.c @@ -34,7 +34,7 @@ int snd_device_new(struct snd_card *card, enum snd_device_type type, if (snd_BUG_ON(!card || !device_data || !ops)) return -ENXIO; - dev = kzalloc_obj(*dev, GFP_KERNEL); + dev = kzalloc_obj(*dev); if (!dev) return -ENOMEM; INIT_LIST_HEAD(&dev->list); |
