diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2010-06-03 01:29:50 +0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-06-13 19:55:15 +0400 |
commit | 8dbed71ad1ab0636745af958934f1ca670702ca0 (patch) | |
tree | 91e9f129da8d7dd5f531303a0e6dd3fe241d9878 /arch/arm | |
parent | 60adc112bbd430b90cbafecc19e6e9be2e2000e3 (diff) | |
download | linux-8dbed71ad1ab0636745af958934f1ca670702ca0.tar.xz |
[ARM] pxa/mioa701: fix camera regression
Since commit a48c24a696f0d93c49f913b7818e9819612b1f4e, the
camera is not working anymore.
After the v4l2 migration, the mt9m111 camera board
information was not passed to the i2c layer anymore, but
stored for future use of v4l2 (through soc_camera).
Because mioa701_i2c_devices[] was tagged as "__initdata",
and because after the v4l2 migration, the new structure
"iclink" references it, the mt9m111 driver is not probed
anymore, as part of "iclink" is not valid (discarded after
kernel init).
Although there is not compilation error, nor runtime oops,
this patch restores a working camera on the mioa701 board.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/mioa701.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index d60db87dde08..fa6a708b4099 100644 --- a/arch/arm/mach-pxa/mioa701.c +++ b/arch/arm/mach-pxa/mioa701.c @@ -697,7 +697,7 @@ static struct i2c_board_info __initdata mioa701_pi2c_devices[] = { }; /* Board I2C devices. */ -static struct i2c_board_info __initdata mioa701_i2c_devices[] = { +static struct i2c_board_info mioa701_i2c_devices[] = { { I2C_BOARD_INFO("mt9m111", 0x5d), }, |