media: media-device: set driver_version directly
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 21 Jul 2017 10:48:33 +0000 (06:48 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 8 Aug 2017 10:00:07 +0000 (06:00 -0400)
commit4c7089ee66026f38275d43e26d9da6e2945af6f9
tree9e8473777a62a5b26ffc737e2cb9bae194079b9b
parent1d54267b236c503f4a6ffa501e4b129038ae9480
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>
drivers/media/media-device.c
include/media/media-device.h