[media] em28xx: move sensor parameter fields from struct em28xx to struct v4l2

Move camera sensor resolution and xtal out of em28xx common struct,
as thore are used only by the em28xx v4l2 submodule.

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>
这个提交包含在:
Frank Schaefer
2014-03-24 16:33:19 -03:00
提交者 Mauro Carvalho Chehab
父节点 58159171c7
当前提交 d7dc18da63
修改 3 个文件,包含 20 行新增16 行删除

查看文件

@@ -519,6 +519,11 @@ struct em28xx_v4l2 {
u8 vinmode;
u8 vinctl;
/* Camera specific fields */
int sensor_xres;
int sensor_yres;
int sensor_xtal;
struct em28xx_fmt *format;
v4l2_std_id norm; /* selected tv norm */
@@ -601,10 +606,7 @@ struct em28xx {
struct em28xx_board board;
/* Webcam specific fields */
enum em28xx_sensor em28xx_sensor;
int sensor_xres, sensor_yres;
int sensor_xtal;
enum em28xx_sensor em28xx_sensor; /* camera specific */
/* Controls audio streaming */
struct work_struct wq_trigger; /* Trigger to start/stop audio for alsa module */