Message ID | 53bfd9dc-b0ba-5cf0-0aaf-0db358a10082@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/radio/si470x/radio-si470x-usb.c b/drivers/media/radio/si470x/radio-si470x-usb.c index af295530b20f..6fc6e8235f20 100644 --- a/drivers/media/radio/si470x/radio-si470x-usb.c +++ b/drivers/media/radio/si470x/radio-si470x-usb.c @@ -584,5 +584,5 @@ static int si470x_usb_driver_probe(struct usb_interface *intf, /* private data allocation and initialization */ - radio = kzalloc(sizeof(struct si470x_device), GFP_KERNEL); + radio = kzalloc(sizeof(*radio), GFP_KERNEL); if (!radio) { retval = -ENOMEM; goto err_initial;