From: Rob Taylor <rob.taylor@xxxxxxxxxxxxxxx> Adapt soc_camera_querycap() so that cap->bus_info is populated in addition to cap->driver. Signed-off-by: Rob Taylor <rob.taylor@xxxxxxxxxxxxxxx> Reviewed-by: William Towle <william.towle@xxxxxxxxxxxxxxx> --- drivers/media/platform/soc_camera/soc_camera.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/soc_camera/soc_camera.c b/drivers/media/platform/soc_camera/soc_camera.c index 4e59833..675cfc4 100644 --- a/drivers/media/platform/soc_camera/soc_camera.c +++ b/drivers/media/platform/soc_camera/soc_camera.c @@ -954,6 +954,7 @@ static int soc_camera_querycap(struct file *file, void *priv, WARN_ON(priv != file->private_data); strlcpy(cap->driver, ici->drv_name, sizeof(cap->driver)); + strlcpy(cap->bus_info, "platform:soc_camera", sizeof(cap->bus_info)); return ici->ops->querycap(ici, cap); } -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html