aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/v4l2-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c
index cef80dab1a0..9294282b5ad 100644
--- a/drivers/media/video/v4l2-common.c
+++ b/drivers/media/video/v4l2-common.c
@@ -378,6 +378,8 @@ struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev,
378 378
379 if (module_name) 379 if (module_name)
380 request_module(module_name); 380 request_module(module_name);
381 else
382 request_module(I2C_MODULE_PREFIX "%s", info->type);
381 383
382 /* Create the i2c client */ 384 /* Create the i2c client */
383 if (info->addr == 0 && probe_addrs) 385 if (info->addr == 0 && probe_addrs)