mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
1d54267b23
commit
4c7089ee66
2 changed files with 1 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue