summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-21 19:02:54 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-12-21 19:02:54 +0100
commite3ed9d5ccedc1a7a60c7cf106fbfb795448b32ea (patch)
tree741a34226b3a2165da28acdb7c61fa8eb08b3d32 /linux/drivers/media/video/gspca
parenta48a5ef826d2948a3b2a17d024cf853f1ed3b931 (diff)
downloadmediapointer-dvb-s2-e3ed9d5ccedc1a7a60c7cf106fbfb795448b32ea.tar.gz
mediapointer-dvb-s2-e3ed9d5ccedc1a7a60c7cf106fbfb795448b32ea.tar.bz2
gspca - ov534 and m5602: Set static some functions/variables.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_core.c2
-rw-r--r--linux/drivers/media/video/gspca/ov534.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_core.c b/linux/drivers/media/video/gspca/m5602/m5602_core.c
index fd6ce384b..059c4d2ff 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_core.c
+++ b/linux/drivers/media/video/gspca/m5602/m5602_core.c
@@ -24,7 +24,7 @@
/* Kernel module parameters */
int force_sensor;
-int dump_bridge;
+static int dump_bridge;
int dump_sensor;
static const __devinitdata struct usb_device_id m5602_table[] = {
diff --git a/linux/drivers/media/video/gspca/ov534.c b/linux/drivers/media/video/gspca/ov534.c
index 7332947cb..0eeb417d4 100644
--- a/linux/drivers/media/video/gspca/ov534.c
+++ b/linux/drivers/media/video/gspca/ov534.c
@@ -499,8 +499,8 @@ discard:
}
/* get stream parameters (framerate) */
-int sd_get_streamparm(struct gspca_dev *gspca_dev,
- struct v4l2_streamparm *parm)
+static int sd_get_streamparm(struct gspca_dev *gspca_dev,
+ struct v4l2_streamparm *parm)
{
struct v4l2_captureparm *cp = &parm->parm.capture;
struct v4l2_fract *tpf = &cp->timeperframe;
@@ -517,8 +517,8 @@ int sd_get_streamparm(struct gspca_dev *gspca_dev,
}
/* set stream parameters (framerate) */
-int sd_set_streamparm(struct gspca_dev *gspca_dev,
- struct v4l2_streamparm *parm)
+static int sd_set_streamparm(struct gspca_dev *gspca_dev,
+ struct v4l2_streamparm *parm)
{
struct v4l2_captureparm *cp = &parm->parm.capture;
struct v4l2_fract *tpf = &cp->timeperframe;