summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 09:36:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 09:36:07 -0300
commit7abbab1a9801ad11729cc746653a909972548502 (patch)
tree232a3bbdbf4c48b602848b9b0031b79e734fc599 /linux/drivers/media/video/cx88/cx88-core.c
parentec810366b1dc73c6e1e9251b2bf21135e42d9fc7 (diff)
parent619f91291de90dbff3aaafdf29a3886757eda34f (diff)
downloadmediapointer-dvb-s2-7abbab1a9801ad11729cc746653a909972548502.tar.gz
mediapointer-dvb-s2-7abbab1a9801ad11729cc746653a909972548502.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-videodev2
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-core.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c
index a63915bdf..4ce5f7589 100644
--- a/linux/drivers/media/video/cx88/cx88-core.c
+++ b/linux/drivers/media/video/cx88/cx88-core.c
@@ -41,6 +41,7 @@
#include "cx88.h"
#include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
MODULE_DESCRIPTION("v4l2 driver module for cx2388x based TV cards");
MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]");
@@ -1035,7 +1036,7 @@ struct video_device *cx88_vdev_init(struct cx88_core *core,
return NULL;
*vfd = *template;
vfd->minor = -1;
- vfd->dev = &pci->dev;
+ vfd->parent = &pci->dev;
vfd->release = video_device_release;
snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)",
core->name, type, core->board.name);