@@ -543,7 +543,7 @@ static int sd_config(struct gspca_dev *g
}
/* This function is used by pac7302 only */
-static void setbrightcont(struct gspca_dev *gspca_dev)
+static void pac7302_setbrightcont(struct gspca_dev *gspca_dev)
{
struct sd *sd = (struct sd *) gspca_dev;
int i, v;
@@ -570,7 +570,7 @@ static void setbrightcont(struct gspca_d
}
/* This function is used by pac7311 only */
-static void setcontrast(struct gspca_dev *gspca_dev)
+static void pac7311_setcontrast(struct gspca_dev *gspca_dev)
{
struct sd *sd = (struct sd *) gspca_dev;
@@ -581,7 +581,7 @@ static void setcontrast(struct gspca_dev
}
/* This function is used by pac7302 only */
-static void setcolors(struct gspca_dev *gspca_dev)
+static void pac7302_setcolors(struct gspca_dev *gspca_dev)
{
struct sd *sd = (struct sd *) gspca_dev;
int i, v;
@@ -700,11 +700,11 @@ static int sd_start(struct gspca_dev *gs
if (sd->sensor == SENSOR_PAC7302) {
reg_w_var(gspca_dev, start_7302);
- setbrightcont(gspca_dev);
- setcolors(gspca_dev);
+ pac7302_setbrightcont(gspca_dev);
+ pac7302_setcolors(gspca_dev);
} else {
reg_w_var(gspca_dev, start_7311);
- setcontrast(gspca_dev);
+ pac7311_setcontrast(gspca_dev);
}
setgain(gspca_dev);
setexposure(gspca_dev);
@@ -923,7 +923,7 @@ static int sd_setbrightness(struct gspca
sd->brightness = val;
if (gspca_dev->streaming)
- setbrightcont(gspca_dev);
+ pac7302_setbrightcont(gspca_dev);
return 0;
}
@@ -942,9 +942,9 @@ static int sd_setcontrast(struct gspca_d
sd->contrast = val;
if (gspca_dev->streaming) {
if (sd->sensor == SENSOR_PAC7302)
- setbrightcont(gspca_dev);
+ pac7302_setbrightcont(gspca_dev);
else
- setcontrast(gspca_dev);
+ pac7311_setcontrast(gspca_dev);
}
return 0;
}
@@ -963,7 +963,7 @@ static int sd_setcolors(struct gspca_dev
sd->colors = val;
if (gspca_dev->streaming)
- setcolors(gspca_dev);
+ pac7302_setcolors(gspca_dev);
return 0;
}