]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blobdiff - drivers/media/platform/soc_camera/camera_common.c
media: camera-common: export symbols for modules
[sojka/nv-tegra/linux-3.10.git] / drivers / media / platform / soc_camera / camera_common.c
index 623380e1f852eb81267d878d491266c0135ee103..2a06e90857917e508c24fe599fffe84aafd81b3b 100644 (file)
@@ -85,6 +85,7 @@ int camera_common_g_ctrl(struct camera_common_data *s_data,
 
        return -EFAULT;
 }
+EXPORT_SYMBOL(camera_common_g_ctrl);
 
 int camera_common_regulator_get(struct i2c_client *client,
                       struct regulator **vreg, const char *vreg_name)
@@ -105,6 +106,7 @@ int camera_common_regulator_get(struct i2c_client *client,
        *vreg = reg;
        return err;
 }
+EXPORT_SYMBOL(camera_common_regulator_get);
 
 int camera_common_debugfs_show(struct seq_file *s, void *unused)
 {
@@ -201,6 +203,7 @@ void camera_common_remove_debugfs(
        debugfs_remove_recursive(s_data->debugdir);
        s_data->debugdir = NULL;
 }
+EXPORT_SYMBOL(camera_common_remove_debugfs);
 
 void camera_common_create_debugfs(
                struct camera_common_data *s_data,
@@ -228,6 +231,7 @@ remove_debugfs:
        dev_err(&client->dev, "couldn't create debugfs\n");
        camera_common_remove_debugfs(s_data);
 }
+EXPORT_SYMBOL(camera_common_create_debugfs);
 
 /* Find a data format by a pixel code in an array */
 const struct camera_common_colorfmt *camera_common_find_datafmt(
@@ -241,6 +245,7 @@ const struct camera_common_colorfmt *camera_common_find_datafmt(
 
        return NULL;
 }
+EXPORT_SYMBOL(camera_common_find_datafmt);
 
 int camera_common_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                         enum v4l2_mbus_pixelcode *code)
@@ -251,6 +256,7 @@ int camera_common_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
        *code = camera_common_color_fmts[index].code;
        return 0;
 }
+EXPORT_SYMBOL(camera_common_enum_fmt);
 
 int camera_common_try_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
 {
@@ -314,6 +320,7 @@ int camera_common_try_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
 
        return 0;
 }
+EXPORT_SYMBOL(camera_common_try_fmt);
 
 int camera_common_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
 {
@@ -333,6 +340,7 @@ int camera_common_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
 
        return 0;
 }
+EXPORT_SYMBOL(camera_common_s_fmt);
 
 int camera_common_g_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
 {
@@ -350,6 +358,7 @@ int camera_common_g_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
 
        return 0;
 }
+EXPORT_SYMBOL(camera_common_g_fmt);
 
 int camera_common_g_chip_ident(struct v4l2_subdev *sd,
                             struct v4l2_dbg_chip_ident *id)
@@ -460,6 +469,7 @@ int camera_common_s_power(struct v4l2_subdev *sd, int on)
        } else
                return -EINVAL;
 }
+EXPORT_SYMBOL(camera_common_s_power);
 
 int camera_common_g_mbus_config(struct v4l2_subdev *sd,
                                struct v4l2_mbus_config *cfg)
@@ -471,4 +481,4 @@ int camera_common_g_mbus_config(struct v4l2_subdev *sd,
 
        return 0;
 }
-
+EXPORT_SYMBOL(camera_common_g_mbus_config);