media: vicodec: fill in bus_info in media_device_info
It is good practice to fill in bus_info. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
db9a01b32c
commit
0247c75b19
|
@ -1669,6 +1669,8 @@ static int vicodec_probe(struct platform_device *pdev)
|
|||
#ifdef CONFIG_MEDIA_CONTROLLER
|
||||
dev->mdev.dev = &pdev->dev;
|
||||
strscpy(dev->mdev.model, "vicodec", sizeof(dev->mdev.model));
|
||||
strscpy(dev->mdev.bus_info, "platform:vicodec",
|
||||
sizeof(dev->mdev.bus_info));
|
||||
media_device_init(&dev->mdev);
|
||||
dev->v4l2_dev.mdev = &dev->mdev;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue