summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/saa7146/mxb.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-09 13:33:57 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 23:29:01 -0300
commit3ae863e0db47ae7815f9e52975e1fddfca59520a (patch)
treef6b8076f90b5311a8e3335fa6a750f8676a6ecde /drivers/media/pci/saa7146/mxb.c
parent093654201e209b2a1aa59bd6c0bc1e33c1f6c4d2 (diff)
downloadlinux-3ae863e0db47ae7815f9e52975e1fddfca59520a.tar.bz2
[media] saa7146: embed video_device
Embed the video_device struct to simplify the error handling and in order to (eventually) get rid of video_device_alloc/release. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7146/mxb.c')
-rw-r--r--drivers/media/pci/saa7146/mxb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7146/mxb.c b/drivers/media/pci/saa7146/mxb.c
index c4c8fce8f2b4..0ca1e07ae783 100644
--- a/drivers/media/pci/saa7146/mxb.c
+++ b/drivers/media/pci/saa7146/mxb.c
@@ -151,8 +151,8 @@ static struct mxb_routing TEA6420_line[MXB_AUDIOS + 1][2] = {
struct mxb
{
- struct video_device *video_dev;
- struct video_device *vbi_dev;
+ struct video_device video_dev;
+ struct video_device vbi_dev;
struct i2c_adapter i2c_adapter;