summaryrefslogtreecommitdiff
path: root/drivers/media/video/au0828/au0828-cards.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-16 02:01:53 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 19:43:28 +0400
commit2689d3dcc6c75c0b4a05b66330db85df2c036d3e (patch)
treef97c0181d6fd325dc039ea907e517994de48c63e /drivers/media/video/au0828/au0828-cards.c
parentdd27ade7a9195cb3b1f56df4d0ec39763830390b (diff)
downloadlinux-2689d3dcc6c75c0b4a05b66330db85df2c036d3e.tar.xz
V4L/DVB (11088): au0828: finish videodev/subdev conversion
Per Hans Verkuil <hverkuil@xs4all.nl> instruction, remove the deprecated attach_inform/detach_inform routines, and convert over the i2c calls to subdev calls. Thanks to Hans Verkuil <hverkuil@xs4all.nl> for providing feedback on the au0828 analog support. Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828-cards.c')
-rw-r--r--drivers/media/video/au0828/au0828-cards.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/au0828/au0828-cards.c b/drivers/media/video/au0828/au0828-cards.c
index 1b48eb58a161..1aabaa7e55bb 100644
--- a/drivers/media/video/au0828/au0828-cards.c
+++ b/drivers/media/video/au0828/au0828-cards.c
@@ -218,7 +218,8 @@ void au0828_card_setup(struct au0828_dev *dev)
tun_setup.type = dev->board.tuner_type;
tun_setup.addr = dev->board.tuner_addr;
tun_setup.tuner_callback = au0828_tuner_callback;
- au0828_call_i2c_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
+ v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr,
+ &tun_setup);
}
}