[media] em28xx: move struct v4l2_clk *clk from struct em28xx to struct v4l2

The current clock definition applies only to the V4L2 side of the
driver. Move its struct pointer to the v4l2_dev, where it belongs.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Frank Schaefer
2014-03-24 16:33:11 -03:00
committed by Mauro Carvalho Chehab
父節點 abc1308f0b
當前提交 2c52a2fce0
共有 3 個文件被更改,包括 10 次插入9 次删除

查看文件

@@ -504,6 +504,7 @@ struct em28xx_v4l2 {
struct v4l2_device v4l2_dev;
struct v4l2_ctrl_handler ctrl_handler;
struct v4l2_clk *clk;
};
struct em28xx_audio {
@@ -569,7 +570,6 @@ struct em28xx {
unsigned int has_alsa_audio:1;
unsigned int is_audio_only:1;
struct v4l2_clk *clk;
struct em28xx_board board;
/* Webcam specific fields */