summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2017-07-21 06:48:33 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-08 06:00:07 -0400
commit4c7089ee66026f38275d43e26d9da6e2945af6f9 (patch)
tree9e8473777a62a5b26ffc737e2cb9bae194079b9b /include/media
parent1d54267b236c503f4a6ffa501e4b129038ae9480 (diff)
downloadlinux-4c7089ee66026f38275d43e26d9da6e2945af6f9.tar.gz
linux-4c7089ee66026f38275d43e26d9da6e2945af6f9.tar.bz2
linux-4c7089ee66026f38275d43e26d9da6e2945af6f9.zip
media: media-device: set driver_version directly
Don't use driver_version from struct media_device, just return LINUX_VERSION_CODE as the other media subsystems do. The driver_version field in struct media_device will be removed in the following patches. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/media-device.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/media/media-device.h b/include/media/media-device.h
index 6896266031b9..7ae200d89a9f 100644
--- a/include/media/media-device.h
+++ b/include/media/media-device.h
@@ -249,11 +249,6 @@ void media_device_cleanup(struct media_device *mdev);
* driver-specific format. When possible the revision should be formatted
* with the KERNEL_VERSION() macro.
*
- * - &media_entity.driver_version is formatted with the KERNEL_VERSION()
- * macro. The version minor must be incremented when new features are added
- * to the userspace API without breaking binary compatibility. The version
- * major must be incremented when binary compatibility is broken.
- *
* .. note::
*
* #) Upon successful registration a character device named media[0-9]+ is created. The device major and minor numbers are dynamic. The model name is exported as a sysfs attribute.