Message ID | c1dc108c-c958-5032-67ba-1fb7a34730f8@xs4all.nl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | vim2m: fill in bus_info in media_device_info | expand |
diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c index 0e7814b2327e..4055aabf2a5e 100644 --- a/drivers/media/platform/vim2m.c +++ b/drivers/media/platform/vim2m.c @@ -1155,6 +1155,7 @@ 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;
It is good practice to fill in the bus_info. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> ---