diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-14 16:36:54 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-14 16:36:54 +0100 |
commit | c5b41e23cfa080a22b48bdf0e6e2a8028f340a70 (patch) | |
tree | be8ee90451adf9357b95565007290e3992ba8294 /linux/drivers/media/dvb | |
parent | 9a4b796fec5b96cb6d0f637fc86983bb376c7628 (diff) | |
download | mediapointer-dvb-s2-c5b41e23cfa080a22b48bdf0e6e2a8028f340a70.tar.gz mediapointer-dvb-s2-c5b41e23cfa080a22b48bdf0e6e2a8028f340a70.tar.bz2 |
bttv: convert to v4l2_device.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index c4b8b0677..08c63014c 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -815,7 +815,7 @@ static int __devinit dvb_bt8xx_probe(struct bttv_sub_device *sub) mutex_init(&card->lock); card->bttv_nr = sub->core->nr; - strncpy(card->card_name, sub->core->name, sizeof(sub->core->name)); + strlcpy(card->card_name, sub->core->v4l2_dev.name, sizeof(card->card_name)); card->i2c_adapter = &sub->core->i2c_adap; switch(sub->core->type) { |