diff options
Diffstat (limited to 'drivers/media/video/sn9c102/sn9c102_pas202bcb.c')
-rw-r--r-- | drivers/media/video/sn9c102/sn9c102_pas202bcb.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/video/sn9c102/sn9c102_pas202bcb.c b/drivers/media/video/sn9c102/sn9c102_pas202bcb.c index d068616ab337..e3c1178e339c 100644 --- a/drivers/media/video/sn9c102/sn9c102_pas202bcb.c +++ b/drivers/media/video/sn9c102/sn9c102_pas202bcb.c | |||
@@ -58,8 +58,8 @@ static int pas202bcb_init(struct sn9c102_device* cam) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | 60 | ||
61 | static int pas202bcb_get_ctrl(struct sn9c102_device* cam, | 61 | static int pas202bcb_get_ctrl(struct sn9c102_device* cam, |
62 | struct v4l2_control* ctrl) | 62 | struct v4l2_control* ctrl) |
63 | { | 63 | { |
64 | switch (ctrl->id) { | 64 | switch (ctrl->id) { |
65 | case V4L2_CID_EXPOSURE: | 65 | case V4L2_CID_EXPOSURE: |
@@ -101,8 +101,8 @@ static int pas202bcb_get_ctrl(struct sn9c102_device* cam, | |||
101 | } | 101 | } |
102 | 102 | ||
103 | 103 | ||
104 | static int pas202bcb_set_pix_format(struct sn9c102_device* cam, | 104 | static int pas202bcb_set_pix_format(struct sn9c102_device* cam, |
105 | const struct v4l2_pix_format* pix) | 105 | const struct v4l2_pix_format* pix) |
106 | { | 106 | { |
107 | int err = 0; | 107 | int err = 0; |
108 | 108 | ||
@@ -115,8 +115,8 @@ static int pas202bcb_set_pix_format(struct sn9c102_device* cam, | |||
115 | } | 115 | } |
116 | 116 | ||
117 | 117 | ||
118 | static int pas202bcb_set_ctrl(struct sn9c102_device* cam, | 118 | static int pas202bcb_set_ctrl(struct sn9c102_device* cam, |
119 | const struct v4l2_control* ctrl) | 119 | const struct v4l2_control* ctrl) |
120 | { | 120 | { |
121 | int err = 0; | 121 | int err = 0; |
122 | 122 | ||
@@ -149,8 +149,8 @@ static int pas202bcb_set_ctrl(struct sn9c102_device* cam, | |||
149 | } | 149 | } |
150 | 150 | ||
151 | 151 | ||
152 | static int pas202bcb_set_crop(struct sn9c102_device* cam, | 152 | static int pas202bcb_set_crop(struct sn9c102_device* cam, |
153 | const struct v4l2_rect* rect) | 153 | const struct v4l2_rect* rect) |
154 | { | 154 | { |
155 | struct sn9c102_sensor* s = &pas202bcb; | 155 | struct sn9c102_sensor* s = &pas202bcb; |
156 | int err = 0; | 156 | int err = 0; |
@@ -167,7 +167,7 @@ static int pas202bcb_set_crop(struct sn9c102_device* cam, | |||
167 | static struct sn9c102_sensor pas202bcb = { | 167 | static struct sn9c102_sensor pas202bcb = { |
168 | .name = "PAS202BCB", | 168 | .name = "PAS202BCB", |
169 | .maintainer = "Carlos Eduardo Medaglia Dyonisio " | 169 | .maintainer = "Carlos Eduardo Medaglia Dyonisio " |
170 | "<medaglia@undl.org.br>", | 170 | "<medaglia@undl.org.br>", |
171 | .sysfs_ops = SN9C102_I2C_READ | SN9C102_I2C_WRITE, | 171 | .sysfs_ops = SN9C102_I2C_READ | SN9C102_I2C_WRITE, |
172 | .frequency = SN9C102_I2C_400KHZ | SN9C102_I2C_100KHZ, | 172 | .frequency = SN9C102_I2C_400KHZ | SN9C102_I2C_100KHZ, |
173 | .interface = SN9C102_I2C_2WIRES, | 173 | .interface = SN9C102_I2C_2WIRES, |