summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx25821/cx25821.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-04-13 08:18:00 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-16 18:03:49 -0300
commit467870ca26c01cb0ac84e969a78160f8164919cc (patch)
tree98fbc5ec70205daa6016090dcd18616d472de719 /drivers/media/pci/cx25821/cx25821.h
parent89c21389f2a48afb2fb24fdf74433950cb9b19a2 (diff)
downloadop-kernel-dev-467870ca26c01cb0ac84e969a78160f8164919cc.zip
op-kernel-dev-467870ca26c01cb0ac84e969a78160f8164919cc.tar.gz
[media] cx25821: embed video_device, clean up some kernel log spam
Embed the video_device struct instead of allocating it. Remove some of the annoying and ugly kernel messages shown during loading and unloading of the module. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821.h')
-rw-r--r--drivers/media/pci/cx25821/cx25821.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx25821/cx25821.h b/drivers/media/pci/cx25821/cx25821.h
index 61c6cfc..df2ea22 100644
--- a/drivers/media/pci/cx25821/cx25821.h
+++ b/drivers/media/pci/cx25821/cx25821.h
@@ -217,7 +217,7 @@ struct cx25821_channel {
int ctl_saturation;
struct cx25821_data timeout_data;
- struct video_device *video_dev;
+ struct video_device vdev;
struct cx25821_dmaqueue vidq;
const struct sram_channel *sram_channels;
OpenPOWER on IntegriCloud