[media] pxa_camera: make soc_mbus_xlate_by_fourcc() static
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:58:58 +0000 (10:58 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:58:58 +0000 (10:58 -0300)
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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/pxa_camera.c

index c2d1ceaea49b9d99f46c09eadf1321538668cf2f..733677f06cb4cce926639fc41cc9a5ee743d95ad 100644 (file)
@@ -280,8 +280,9 @@ static const char *pxa_cam_driver_description = "PXA_Camera";
 /*
  * Format translation functions
  */
-const struct soc_camera_format_xlate *soc_mbus_xlate_by_fourcc(
-       struct soc_camera_format_xlate *user_formats, unsigned int fourcc)
+static const struct soc_camera_format_xlate
+*soc_mbus_xlate_by_fourcc(struct soc_camera_format_xlate *user_formats,
+                         unsigned int fourcc)
 {
        unsigned int i;
 
This page took 0.030705 seconds and 5 git commands to generate.