diff options
| -rw-r--r-- | drivers/media/video/zoran/zoran_card.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/media/video/zoran/zoran_card.c b/drivers/media/video/zoran/zoran_card.c index 9cdc3bb15b15..9f2bac519647 100644 --- a/drivers/media/video/zoran/zoran_card.c +++ b/drivers/media/video/zoran/zoran_card.c | |||
| @@ -1041,7 +1041,7 @@ zr36057_init (struct zoran *zr) | |||
| 1041 | /* allocate memory *before* doing anything to the hardware | 1041 | /* allocate memory *before* doing anything to the hardware | 
| 1042 | * in case allocation fails */ | 1042 | * in case allocation fails */ | 
| 1043 | zr->stat_com = kzalloc(BUZ_NUM_STAT_COM * 4, GFP_KERNEL); | 1043 | zr->stat_com = kzalloc(BUZ_NUM_STAT_COM * 4, GFP_KERNEL); | 
| 1044 | zr->video_dev = kmalloc(sizeof(struct video_device), GFP_KERNEL); | 1044 | zr->video_dev = video_device_alloc(); | 
| 1045 | if (!zr->stat_com || !zr->video_dev) { | 1045 | if (!zr->stat_com || !zr->video_dev) { | 
| 1046 | dprintk(1, | 1046 | dprintk(1, | 
| 1047 | KERN_ERR | 1047 | KERN_ERR | 
