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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

vanhempi
1d54267b23
commit
4c7089ee66
@@ -71,7 +71,7 @@ static int media_device_get_info(struct media_device *dev,
|
||||
|
||||
info->media_version = MEDIA_API_VERSION;
|
||||
info->hw_revision = dev->hw_revision;
|
||||
info->driver_version = dev->driver_version;
|
||||
info->driver_version = LINUX_VERSION_CODE;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Viittaa uudesa ongelmassa
Block a user