diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-01-30 08:38:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-07 11:50:17 -0500 |
commit | 0247c75b19c0e9554307d842fa1ad914d59a41b1 (patch) | |
tree | 9dfb4698b1723d5ca17d0705f7b4653edf4d01fc /drivers/media | |
parent | db9a01b32ca9406394e6e7d19c4cdfcf1cbb5058 (diff) |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/vicodec/vicodec-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/platform/vicodec/vicodec-core.c index cda348114764..b5a9dee94c91 100644 --- a/drivers/media/platform/vicodec/vicodec-core.c +++ b/drivers/media/platform/vicodec/vicodec-core.c @@ -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 |