diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index 1c4d83ef2a47..8cc46874ade3 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -417,7 +417,7 @@ static struct i2c_board_info __initdata ap325rxa_i2c_devices[] = { | |||
417 | }, | 417 | }, |
418 | { | 418 | { |
419 | I2C_BOARD_INFO("ov772x", 0x21), | 419 | I2C_BOARD_INFO("ov772x", 0x21), |
420 | .platform_data = &ov7725_info, | 420 | .platform_data = &ov7725_info.link, |
421 | }, | 421 | }, |
422 | }; | 422 | }; |
423 | 423 | ||
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[] = { | |||
430 | }, | 430 | }, |
431 | { | 431 | { |
432 | I2C_BOARD_INFO("ov772x", 0x21), | 432 | I2C_BOARD_INFO("ov772x", 0x21), |
433 | .platform_data = &ov7725_info, | 433 | .platform_data = &ov7725_info.link, |
434 | }, | 434 | }, |
435 | { | 435 | { |
436 | I2C_BOARD_INFO("tw9910", 0x45), | 436 | I2C_BOARD_INFO("tw9910", 0x45), |
437 | .platform_data = &tw9910_info, | 437 | .platform_data = &tw9910_info.link, |
438 | }, | 438 | }, |
439 | }; | 439 | }; |
440 | 440 | ||