diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 10:34:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:18:29 -0400 |
commit | 83fe78ea02df8a992dbda8fc3397ddb2646e733e (patch) | |
tree | 4c4a4579be26a70e5e188fc477c716aafce56180 /arch | |
parent | 40e2e0927003424c25807b575dd40da2b8685857 (diff) |
V4L/DVB (12507): sh: soc-camera updates
Update ap325rxa to specify .bus_id in struct soc_camera_link explicitly, remove
unused .iface from struct soc_camera_platform_info.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index 97a2fc97e108..a89eb8b8531b 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -314,7 +314,6 @@ static int ap325rxa_camera_add(struct soc_camera_link *icl, struct device *dev); | |||
314 | static void ap325rxa_camera_del(struct soc_camera_link *icl); | 314 | static void ap325rxa_camera_del(struct soc_camera_link *icl); |
315 | 315 | ||
316 | static struct soc_camera_platform_info camera_info = { | 316 | static struct soc_camera_platform_info camera_info = { |
317 | .iface = 0, | ||
318 | .format_name = "UYVY", | 317 | .format_name = "UYVY", |
319 | .format_depth = 16, | 318 | .format_depth = 16, |
320 | .format = { | 319 | .format = { |
@@ -327,6 +326,7 @@ static struct soc_camera_platform_info camera_info = { | |||
327 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8, | 326 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8, |
328 | .set_capture = camera_set_capture, | 327 | .set_capture = camera_set_capture, |
329 | .link = { | 328 | .link = { |
329 | .bus_id = 0, | ||
330 | .add_device = ap325rxa_camera_add, | 330 | .add_device = ap325rxa_camera_add, |
331 | .del_device = ap325rxa_camera_del, | 331 | .del_device = ap325rxa_camera_del, |
332 | }, | 332 | }, |
@@ -430,6 +430,7 @@ static struct ov772x_camera_info ov7725_info = { | |||
430 | .flags = OV772X_FLAG_VFLIP | OV772X_FLAG_HFLIP, | 430 | .flags = OV772X_FLAG_VFLIP | OV772X_FLAG_HFLIP, |
431 | .edgectrl = OV772X_AUTO_EDGECTRL(0xf, 0), | 431 | .edgectrl = OV772X_AUTO_EDGECTRL(0xf, 0), |
432 | .link = { | 432 | .link = { |
433 | .bus_id = 0, | ||
433 | .power = ov7725_power, | 434 | .power = ov7725_power, |
434 | .board_info = &ap325rxa_i2c_camera[0], | 435 | .board_info = &ap325rxa_i2c_camera[0], |
435 | .i2c_adapter_id = 0, | 436 | .i2c_adapter_id = 0, |