summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/media/atomisp/i2c/gc2235.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/media/atomisp/i2c/gc2235.c b/drivers/staging/media/atomisp/i2c/gc2235.c
index 6a5a08e9a887..9b4102349f56 100644
--- a/drivers/staging/media/atomisp/i2c/gc2235.c
+++ b/drivers/staging/media/atomisp/i2c/gc2235.c
@@ -539,10 +539,6 @@ static int __gc2235_init(struct v4l2_subdev *sd)
}
static int is_init;
-static int gc2235_init(struct v4l2_subdev *sd)
-{
- return __gc2235_init(sd);
-}
static int power_ctrl(struct v4l2_subdev *sd, bool flag)
{
@@ -669,7 +665,7 @@ static int gc2235_s_power(struct v4l2_subdev *sd, int on)
else {
ret = power_up(sd);
if (!ret)
- ret = gc2235_init(sd);
+ ret = __gc2235_init(sd);
is_init = 1;
}
return ret;