git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
usb
/
media
/
sn9c102_hv7131d.c
diff --git
a/drivers/media/video/sn9c102/sn9c102_hv7131d.c
b/drivers/usb/media/sn9c102_hv7131d.c
similarity index 93%
rename from
drivers/media/video/sn9c102/sn9c102_hv7131d.c
rename to
drivers/usb/media/sn9c102_hv7131d.c
index
c4117bf
..
46c12ec
100644
(file)
--- a/
drivers/media/video/sn9c102/sn9c102_hv7131d.c
+++ b/
drivers/usb/media/sn9c102_hv7131d.c
@@
-44,8
+44,8
@@
static int hv7131d_init(struct sn9c102_device* cam)
}
}
-static int hv7131d_get_ctrl(struct sn9c102_device* cam,
- struct v4l2_control* ctrl)
+static int hv7131d_get_ctrl(struct sn9c102_device* cam,
+
struct v4l2_control* ctrl)
{
switch (ctrl->id) {
case V4L2_CID_EXPOSURE:
{
switch (ctrl->id) {
case V4L2_CID_EXPOSURE:
@@
-88,8
+88,8
@@
static int hv7131d_get_ctrl(struct sn9c102_device* cam,
}
}
-static int hv7131d_set_ctrl(struct sn9c102_device* cam,
- const struct v4l2_control* ctrl)
+static int hv7131d_set_ctrl(struct sn9c102_device* cam,
+
const struct v4l2_control* ctrl)
{
int err = 0;
{
int err = 0;
@@
-121,8
+121,8
@@
static int hv7131d_set_ctrl(struct sn9c102_device* cam,
}
}
-static int hv7131d_set_crop(struct sn9c102_device* cam,
- const struct v4l2_rect* rect)
+static int hv7131d_set_crop(struct sn9c102_device* cam,
+
const struct v4l2_rect* rect)
{
struct sn9c102_sensor* s = &hv7131d;
int err = 0;
{
struct sn9c102_sensor* s = &hv7131d;
int err = 0;
@@
-136,8
+136,8
@@
static int hv7131d_set_crop(struct sn9c102_device* cam,
}
}
-static int hv7131d_set_pix_format(struct sn9c102_device* cam,
- const struct v4l2_pix_format* pix)
+static int hv7131d_set_pix_format(struct sn9c102_device* cam,
+
const struct v4l2_pix_format* pix)
{
int err = 0;
{
int err = 0;