提交 8f05b34a 编写于 作者: M Mauro Carvalho Chehab

[media] pxa_camera: make soc_mbus_xlate_by_fourcc() static

As warned by smatch:

drivers/media/platform/pxa_camera.c:283:39: warning: no previous prototype for 'soc_mbus_xlate_by_fourcc' [-Wmissing-prototypes]
 const struct soc_camera_format_xlate *soc_mbus_xlate_by_fourcc(
                                       ^~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 5809ecdd
...@@ -280,8 +280,9 @@ static const char *pxa_cam_driver_description = "PXA_Camera"; ...@@ -280,8 +280,9 @@ static const char *pxa_cam_driver_description = "PXA_Camera";
/* /*
* Format translation functions * Format translation functions
*/ */
const struct soc_camera_format_xlate *soc_mbus_xlate_by_fourcc( static const struct soc_camera_format_xlate
struct soc_camera_format_xlate *user_formats, unsigned int fourcc) *soc_mbus_xlate_by_fourcc(struct soc_camera_format_xlate *user_formats,
unsigned int fourcc)
{ {
unsigned int i; unsigned int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册