diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-07 03:26:40 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-04-11 18:11:54 +0200 |
commit | 5ba1cc41bf39fdff1f0a092b34bf2d5bc811dab9 (patch) | |
tree | c12da73c0c6131c2e70658b5781de92b4f827801 /drivers/staging/media/imx | |
parent | 66ed61b91eaf95645aff39159070b55cc4857cf7 (diff) | |
download | linux-stable-5ba1cc41bf39fdff1f0a092b34bf2d5bc811dab9.tar.gz linux-stable-5ba1cc41bf39fdff1f0a092b34bf2d5bc811dab9.tar.bz2 linux-stable-5ba1cc41bf39fdff1f0a092b34bf2d5bc811dab9.zip |
staging: media: imx: Make imx_media_of_add_csi() static
The imx_media_of_add_csi() function is only called in its compilation
unit. Make it static and don't export it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/staging/media/imx')
-rw-r--r-- | drivers/staging/media/imx/imx-media-of.c | 5 | ||||
-rw-r--r-- | drivers/staging/media/imx/imx-media.h | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/media/imx/imx-media-of.c b/drivers/staging/media/imx/imx-media-of.c index 59f1eb7b62bc..92a99010c150 100644 --- a/drivers/staging/media/imx/imx-media-of.c +++ b/drivers/staging/media/imx/imx-media-of.c @@ -16,8 +16,8 @@ #include <video/imx-ipu-v3.h> #include "imx-media.h" -int imx_media_of_add_csi(struct imx_media_dev *imxmd, - struct device_node *csi_np) +static int imx_media_of_add_csi(struct imx_media_dev *imxmd, + struct device_node *csi_np) { struct v4l2_async_subdev *asd; int ret = 0; @@ -41,7 +41,6 @@ int imx_media_of_add_csi(struct imx_media_dev *imxmd, return ret; } -EXPORT_SYMBOL_GPL(imx_media_of_add_csi); int imx_media_add_of_subdevs(struct imx_media_dev *imxmd, struct device_node *np) diff --git a/drivers/staging/media/imx/imx-media.h b/drivers/staging/media/imx/imx-media.h index 2bc623070f07..2640cd34dce2 100644 --- a/drivers/staging/media/imx/imx-media.h +++ b/drivers/staging/media/imx/imx-media.h @@ -251,8 +251,6 @@ void imx_media_unregister_ipu_internal_subdevs(struct imx_media_dev *imxmd); /* imx-media-of.c */ int imx_media_add_of_subdevs(struct imx_media_dev *dev, struct device_node *np); -int imx_media_of_add_csi(struct imx_media_dev *imxmd, - struct device_node *csi_np); /* imx-media-vdic.c */ struct v4l2_subdev *imx_media_vdic_register(struct v4l2_device *v4l2_dev, |