summaryrefslogtreecommitdiff
path: root/arch/sh/boards/mach-migor/setup.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-05-12 19:13:32 +0400
committerPaul Mundt <lethal@linux-sh.org>2009-06-17 11:22:34 +0400
commit0a861e9eb76c68b23be1aa4758269c5b412089a9 (patch)
tree4ec2284a725039e95dedd11b3b1fba6ead012349 /arch/sh/boards/mach-migor/setup.c
parentf73c8f53ccc13ae13c6dbfa002083448a5ad0c81 (diff)
downloadlinux-0a861e9eb76c68b23be1aa4758269c5b412089a9.tar.xz
soc-camera: unify i2c camera device platform data
Unify i2c camera device platform data to point to struct soc_camera_link for a smooth transition to soc-camera as a platform driver. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-migor/setup.c')
-rw-r--r--arch/sh/boards/mach-migor/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index 6ed401cd3156..95d90213be0c 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -430,11 +430,11 @@ static struct i2c_board_info migor_i2c_devices[] = {
},
{
I2C_BOARD_INFO("ov772x", 0x21),
- .platform_data = &ov7725_info,
+ .platform_data = &ov7725_info.link,
},
{
I2C_BOARD_INFO("tw9910", 0x45),
- .platform_data = &tw9910_info,
+ .platform_data = &tw9910_info.link,
},
};