Skip to content

Commit

Permalink
V4L/DVB (13648): soc-camera: add a private field to struct soc_camera…
Browse files Browse the repository at this point in the history
…_link

Up to now, if a client driver needed platform data apart from those contained
in struct soc_camera_link, it had to embed the struct into its own object. This
makes the use of such a driver in configurations other than soc-camera

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Dec 16, 2009
1 parent ee81152 commit 3fd7cef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/media/soc_camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ struct soc_camera_link {
int i2c_adapter_id;
struct i2c_board_info *board_info;
const char *module_name;
void *priv;

/*
* For non-I2C devices platform platform has to provide methods to
* add a device to the system and to remove
Expand Down

0 comments on commit 3fd7cef

Please sign in to comment.