aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-09-17 04:24:13 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:18:17 -0400
commitf9d81df9b8d77f238b3053eb645572ab6651cc8d (patch)
tree2d22c7f5885018ccf21fbc93f8fe60280960c09a /drivers/media/video/uvc
parentfa34168bd8979ef00dbc35dbca6d7564d4e42798 (diff)
[media] uvcvideo: Constify the uvc_entity_match_guid arguments
They're not modified by the function, make them const. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc')
-rw-r--r--drivers/media/video/uvc/uvc_ctrl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c
index bce29fdde52d..d8dc1e191760 100644
--- a/drivers/media/video/uvc/uvc_ctrl.c
+++ b/drivers/media/video/uvc/uvc_ctrl.c
@@ -727,7 +727,8 @@ static const __u8 uvc_camera_guid[16] = UVC_GUID_UVC_CAMERA;
727static const __u8 uvc_media_transport_input_guid[16] = 727static const __u8 uvc_media_transport_input_guid[16] =
728 UVC_GUID_UVC_MEDIA_TRANSPORT_INPUT; 728 UVC_GUID_UVC_MEDIA_TRANSPORT_INPUT;
729 729
730static int uvc_entity_match_guid(struct uvc_entity *entity, __u8 guid[16]) 730static int uvc_entity_match_guid(const struct uvc_entity *entity,
731 const __u8 guid[16])
731{ 732{
732 switch (UVC_ENTITY_TYPE(entity)) { 733 switch (UVC_ENTITY_TYPE(entity)) {
733 case UVC_ITT_CAMERA: 734 case UVC_ITT_CAMERA: