Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164208
b: refs/heads/master
c: bc1937b
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Sep 19, 2009
1 parent 446de1d commit f23657a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c41debafc6e396a8e15f1f017aec7c0cf67e1b54
refs/heads/master: bc1937b41d8253e2b554da385023a92189d38917
2 changes: 2 additions & 0 deletions trunk/arch/sh/boards/board-ap325rxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ static int ap325rxa_camera_add(struct soc_camera_link *icl,
if (icl != &camera_info.link || camera_probe() <= 0)
return -ENODEV;

camera_info.dev = dev;

return platform_device_register(&camera_device);
}

Expand Down
3 changes: 3 additions & 0 deletions trunk/include/media/soc_camera_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@
#include <linux/videodev2.h>
#include <media/soc_camera.h>

struct device;

struct soc_camera_platform_info {
int iface;
char *format_name;
unsigned long format_depth;
struct v4l2_pix_format format;
unsigned long bus_param;
void (*power)(int);
struct device *dev;
int (*set_capture)(struct soc_camera_platform_info *info, int enable);
struct soc_camera_link link;
};
Expand Down

0 comments on commit f23657a

Please sign in to comment.