summaryrefslogtreecommitdiffstats
path: root/include/media/davinci
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2019-07-23 08:58:01 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-25 06:30:00 -0400
commitee484875af0080a0c8621e58facf06f92c658a4b (patch)
tree79f83e881b10470ddcf0e759bf26855b72a2ef77 /include/media/davinci
parent610fce5372216652cdcf6854c48d2876d1eeaad3 (diff)
downloadlinux-stable-ee484875af0080a0c8621e58facf06f92c658a4b.tar.gz
linux-stable-ee484875af0080a0c8621e58facf06f92c658a4b.tar.bz2
linux-stable-ee484875af0080a0c8621e58facf06f92c658a4b.zip
media: davinci/vpfe_capture.c: drop unused format descriptions
Simplify vpfe_pixel_format to just contain the pixelformat and bpp fields. All others are unused. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media/davinci')
-rw-r--r--include/media/davinci/vpfe_capture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/davinci/vpfe_capture.h b/include/media/davinci/vpfe_capture.h
index 2c5b3eacf527..4ad53031e2f7 100644
--- a/include/media/davinci/vpfe_capture.h
+++ b/include/media/davinci/vpfe_capture.h
@@ -32,7 +32,7 @@
#define CAPTURE_DRV_NAME "vpfe-capture"
struct vpfe_pixel_format {
- struct v4l2_fmtdesc fmtdesc;
+ u32 pixelformat;
/* bytes per pixel */
int bpp;
};