diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-empress.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-empress.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/saa7134/saa7134-empress.c b/drivers/media/video/saa7134/saa7134-empress.c index 3d2ec30de227..1314522a8130 100644 --- a/drivers/media/video/saa7134/saa7134-empress.c +++ b/drivers/media/video/saa7134/saa7134-empress.c | |||
@@ -40,7 +40,7 @@ static unsigned int empress_nr[] = {[0 ... (SAA7134_MAXBOARDS - 1)] = UNSET }; | |||
40 | module_param_array(empress_nr, int, NULL, 0444); | 40 | module_param_array(empress_nr, int, NULL, 0444); |
41 | MODULE_PARM_DESC(empress_nr,"ts device number"); | 41 | MODULE_PARM_DESC(empress_nr,"ts device number"); |
42 | 42 | ||
43 | static unsigned int debug = 0; | 43 | static unsigned int debug; |
44 | module_param(debug, int, 0644); | 44 | module_param(debug, int, 0644); |
45 | MODULE_PARM_DESC(debug,"enable debug messages"); | 45 | MODULE_PARM_DESC(debug,"enable debug messages"); |
46 | 46 | ||
@@ -402,7 +402,7 @@ static int empress_init(struct saa7134_dev *dev) | |||
402 | { | 402 | { |
403 | int err; | 403 | int err; |
404 | 404 | ||
405 | dprintk("%s: %s\n",dev->name,__FUNCTION__); | 405 | dprintk("%s: %s\n",dev->name,__func__); |
406 | dev->empress_dev = video_device_alloc(); | 406 | dev->empress_dev = video_device_alloc(); |
407 | if (NULL == dev->empress_dev) | 407 | if (NULL == dev->empress_dev) |
408 | return -ENOMEM; | 408 | return -ENOMEM; |
@@ -427,8 +427,8 @@ static int empress_init(struct saa7134_dev *dev) | |||
427 | printk(KERN_INFO "%s: registered device video%d [mpeg]\n", | 427 | printk(KERN_INFO "%s: registered device video%d [mpeg]\n", |
428 | dev->name,dev->empress_dev->minor & 0x1f); | 428 | dev->name,dev->empress_dev->minor & 0x1f); |
429 | 429 | ||
430 | videobuf_queue_pci_init(&dev->empress_tsq, &saa7134_ts_qops, | 430 | videobuf_queue_sg_init(&dev->empress_tsq, &saa7134_ts_qops, |
431 | dev->pci, &dev->slock, | 431 | &dev->pci->dev, &dev->slock, |
432 | V4L2_BUF_TYPE_VIDEO_CAPTURE, | 432 | V4L2_BUF_TYPE_VIDEO_CAPTURE, |
433 | V4L2_FIELD_ALTERNATE, | 433 | V4L2_FIELD_ALTERNATE, |
434 | sizeof(struct saa7134_buf), | 434 | sizeof(struct saa7134_buf), |
@@ -440,7 +440,7 @@ static int empress_init(struct saa7134_dev *dev) | |||
440 | 440 | ||
441 | static int empress_fini(struct saa7134_dev *dev) | 441 | static int empress_fini(struct saa7134_dev *dev) |
442 | { | 442 | { |
443 | dprintk("%s: %s\n",dev->name,__FUNCTION__); | 443 | dprintk("%s: %s\n",dev->name,__func__); |
444 | 444 | ||
445 | if (NULL == dev->empress_dev) | 445 | if (NULL == dev->empress_dev) |
446 | return 0; | 446 | return 0; |