diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-01-30 08:39:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-07 11:50:36 -0500 |
commit | 281ae39b60b798c12405bfc09c2cb563790ab672 (patch) | |
tree | 9a97a4b8e9ee9ebf223ba9d25f8f22010b7873d3 /drivers | |
parent | 0247c75b19c0e9554307d842fa1ad914d59a41b1 (diff) |
media: vim2m: fill in bus_info in media_device_info
It is good practice to fill in the 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')
-rw-r--r-- | drivers/media/platform/vim2m.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c index e31c14c7d37f..bfa1a2a16009 100644 --- a/drivers/media/platform/vim2m.c +++ b/drivers/media/platform/vim2m.c @@ -1159,6 +1159,8 @@ static int vim2m_probe(struct platform_device *pdev) #ifdef CONFIG_MEDIA_CONTROLLER dev->mdev.dev = &pdev->dev; strscpy(dev->mdev.model, "vim2m", sizeof(dev->mdev.model)); + strscpy(dev->mdev.bus_info, "platform:vim2m", + sizeof(dev->mdev.bus_info)); media_device_init(&dev->mdev); dev->mdev.ops = &m2m_media_ops; dev->v4l2_dev.mdev = &dev->mdev; |