aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-migor
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-09-24 08:27:03 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-22 19:53:52 -0400
commit2001f99947017e378e55943a350c67a8fca9e9b6 (patch)
tree6ebe40a702465ba78ca7b9c46a88fcd66dfa2e09 /arch/sh/boards/mach-migor
parentcb9bc962a10144d3a70651f1f5c755b34d8d5bf4 (diff)
[media] soc_camera: Don't use module names to load I2C modules
With the v4l2_i2c_new_subdev* functions now supporting loading modules based on modaliases, remove the module names hardcoded in platform data and pass a NULL module name to those functions. All corresponding I2C modules have been checked, and all of them include a module aliases table with names corresponding to what the soc_camera platform data uses. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/sh/boards/mach-migor')
-rw-r--r--arch/sh/boards/mach-migor/setup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index 662debe4ead..03af8484255 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -450,7 +450,6 @@ static struct soc_camera_link ov7725_link = {
450 .power = ov7725_power, 450 .power = ov7725_power,
451 .board_info = &migor_i2c_camera[0], 451 .board_info = &migor_i2c_camera[0],
452 .i2c_adapter_id = 0, 452 .i2c_adapter_id = 0,
453 .module_name = "ov772x",
454 .priv = &ov7725_info, 453 .priv = &ov7725_info,
455}; 454};
456 455
@@ -463,7 +462,6 @@ static struct soc_camera_link tw9910_link = {
463 .power = tw9910_power, 462 .power = tw9910_power,
464 .board_info = &migor_i2c_camera[1], 463 .board_info = &migor_i2c_camera[1],
465 .i2c_adapter_id = 0, 464 .i2c_adapter_id = 0,
466 .module_name = "tw9910",
467 .priv = &tw9910_info, 465 .priv = &tw9910_info,
468}; 466};
469 467