summaryrefslogtreecommitdiffstats
path: root/drivers/media/media-device.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2018-07-25 14:51:39 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-27 13:52:39 +0200
commit87e1a881e1fe3bfd89903c54ae0d6d6adedb76f1 (patch)
tree8ab9422be364e1a0041d97790395c31a2a7b0e9b /drivers/media/media-device.c
parentmedia: vivid: Fix V4L2_FIELD_ALTERNATE new frame check (diff)
downloadlinux-87e1a881e1fe3bfd89903c54ae0d6d6adedb76f1.tar.xz
linux-87e1a881e1fe3bfd89903c54ae0d6d6adedb76f1.zip
media: media.h: remove linux/version.h include
The media.h public header is one of only three public headers that include linux/version.h. Drop it from media.h. It was only used for an obsolete define. It has to be added to media-device.c, since that source relied on media.h to include it. Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/media-device.c')
-rw-r--r--drivers/media/media-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
index 14959b19a342..fcdf3d5dc4b6 100644
--- a/drivers/media/media-device.c
+++ b/drivers/media/media-device.c
@@ -25,6 +25,7 @@
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/usb.h>
+#include <linux/version.h>
#include <media/media-device.h>
#include <media/media-devnode.h>