summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-04-20 05:33:03 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 15:11:49 +0200
commitaa8db3adc7b2e4be80294bfcbbb20097dee76af6 (patch)
tree0a6a7d358bd5d7d7dc36a9469564831608babf80 /drivers/media/usb/uvc/uvcvideo.h
parentmedia: uvcvideo: Rename uvc_streaming 'format' field to 'formats' (diff)
downloadlinux-aa8db3adc7b2e4be80294bfcbbb20097dee76af6.tar.xz
linux-aa8db3adc7b2e4be80294bfcbbb20097dee76af6.zip
media: uvcvideo: Rename uvc_format 'frame' field to 'frames'
The uvc_format 'frame' field points to an array of frames. Rename it to 'frames' to make this clearer. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
-rw-r--r--drivers/media/usb/uvc/uvcvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
index 05fec637417d..bb0773637171 100644
--- a/drivers/media/usb/uvc/uvcvideo.h
+++ b/drivers/media/usb/uvc/uvcvideo.h
@@ -265,7 +265,7 @@ struct uvc_format {
u32 flags;
unsigned int nframes;
- struct uvc_frame *frame;
+ struct uvc_frame *frames;
};
struct uvc_streaming_header {