Commit 3b04de4e authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Mauro Carvalho Chehab

media: vimc: remove EXPORT_SYMBOL_GPL declarations

vimc is a single kernel module and does not need to
export any symbols therefore there is no need for these
declarations.
Signed-off-by: default avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent b4aa975c
...@@ -171,7 +171,6 @@ const struct vimc_pix_map *vimc_pix_map_by_index(unsigned int i) ...@@ -171,7 +171,6 @@ const struct vimc_pix_map *vimc_pix_map_by_index(unsigned int i)
return &vimc_pix_map_list[i]; return &vimc_pix_map_list[i];
} }
EXPORT_SYMBOL_GPL(vimc_pix_map_by_index);
const struct vimc_pix_map *vimc_pix_map_by_code(u32 code) const struct vimc_pix_map *vimc_pix_map_by_code(u32 code)
{ {
...@@ -183,7 +182,6 @@ const struct vimc_pix_map *vimc_pix_map_by_code(u32 code) ...@@ -183,7 +182,6 @@ const struct vimc_pix_map *vimc_pix_map_by_code(u32 code)
} }
return NULL; return NULL;
} }
EXPORT_SYMBOL_GPL(vimc_pix_map_by_code);
const struct vimc_pix_map *vimc_pix_map_by_pixelformat(u32 pixelformat) const struct vimc_pix_map *vimc_pix_map_by_pixelformat(u32 pixelformat)
{ {
...@@ -195,7 +193,6 @@ const struct vimc_pix_map *vimc_pix_map_by_pixelformat(u32 pixelformat) ...@@ -195,7 +193,6 @@ const struct vimc_pix_map *vimc_pix_map_by_pixelformat(u32 pixelformat)
} }
return NULL; return NULL;
} }
EXPORT_SYMBOL_GPL(vimc_pix_map_by_pixelformat);
/* Helper function to allocate and initialize pads */ /* Helper function to allocate and initialize pads */
struct media_pad *vimc_pads_init(u16 num_pads, const unsigned long *pads_flag) struct media_pad *vimc_pads_init(u16 num_pads, const unsigned long *pads_flag)
...@@ -216,7 +213,6 @@ struct media_pad *vimc_pads_init(u16 num_pads, const unsigned long *pads_flag) ...@@ -216,7 +213,6 @@ struct media_pad *vimc_pads_init(u16 num_pads, const unsigned long *pads_flag)
return pads; return pads;
} }
EXPORT_SYMBOL_GPL(vimc_pads_init);
int vimc_pipeline_s_stream(struct media_entity *ent, int enable) int vimc_pipeline_s_stream(struct media_entity *ent, int enable)
{ {
...@@ -245,7 +241,6 @@ int vimc_pipeline_s_stream(struct media_entity *ent, int enable) ...@@ -245,7 +241,6 @@ int vimc_pipeline_s_stream(struct media_entity *ent, int enable)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(vimc_pipeline_s_stream);
static int vimc_get_mbus_format(struct media_pad *pad, static int vimc_get_mbus_format(struct media_pad *pad,
struct v4l2_subdev_format *fmt) struct v4l2_subdev_format *fmt)
...@@ -357,7 +352,6 @@ int vimc_link_validate(struct media_link *link) ...@@ -357,7 +352,6 @@ int vimc_link_validate(struct media_link *link)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(vimc_link_validate);
static const struct media_entity_operations vimc_ent_sd_mops = { static const struct media_entity_operations vimc_ent_sd_mops = {
.link_validate = vimc_link_validate, .link_validate = vimc_link_validate,
...@@ -419,5 +413,3 @@ int vimc_ent_sd_register(struct vimc_ent_device *ved, ...@@ -419,5 +413,3 @@ int vimc_ent_sd_register(struct vimc_ent_device *ved,
vimc_pads_cleanup(ved->pads); vimc_pads_cleanup(ved->pads);
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(vimc_ent_sd_register);
...@@ -216,4 +216,3 @@ int vimc_streamer_s_stream(struct vimc_stream *stream, ...@@ -216,4 +216,3 @@ int vimc_streamer_s_stream(struct vimc_stream *stream,
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(vimc_streamer_s_stream);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment