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>
This commit is contained in:
parent
66ed61b91e
commit
5ba1cc41bf
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue