diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-09 10:58:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-09 10:58:58 -0300 |
commit | 8f05b34a8be23d483661de181aa77c07d8a1bd58 (patch) | |
tree | 987e1eb9ca8a7046dae074ee00b6e53210595b46 /drivers/media/platform/pxa_camera.c | |
parent | 5809ecdd6c3c0d6d568a10280f3736f1f4304930 (diff) | |
download | op-kernel-dev-8f05b34a8be23d483661de181aa77c07d8a1bd58.zip op-kernel-dev-8f05b34a8be23d483661de181aa77c07d8a1bd58.tar.gz |
[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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/pxa_camera.c')
-rw-r--r-- | drivers/media/platform/pxa_camera.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/platform/pxa_camera.c b/drivers/media/platform/pxa_camera.c index c2d1cea..733677f 100644 --- a/drivers/media/platform/pxa_camera.c +++ b/drivers/media/platform/pxa_camera.c @@ -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; |