V4L/DVB (13650): soc-camera: switch drivers and platforms to use .priv in struct soc_camera_link
After this change drivers can be further extended to not fail, if they don't get platform data, but to use defaults. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
3fd7ceffdd
commit
0f4482940a
@@ -55,7 +55,6 @@ struct ov772x_edge_ctrl {
|
||||
struct ov772x_camera_info {
|
||||
unsigned long buswidth;
|
||||
unsigned long flags;
|
||||
struct soc_camera_link link;
|
||||
struct ov772x_edge_ctrl edgectrl;
|
||||
};
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ struct soc_camera_platform_info {
|
||||
unsigned long bus_param;
|
||||
struct device *dev;
|
||||
int (*set_capture)(struct soc_camera_platform_info *info, int enable);
|
||||
struct soc_camera_link link;
|
||||
};
|
||||
|
||||
#endif /* __SOC_CAMERA_H__ */
|
||||
|
||||
@@ -32,7 +32,6 @@ enum tw9910_mpout_pin {
|
||||
struct tw9910_video_info {
|
||||
unsigned long buswidth;
|
||||
enum tw9910_mpout_pin mpout;
|
||||
struct soc_camera_link link;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user