Commit 2bd86823 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: media-device: remove driver_version

Since the driver_version field in struct media_device is no longer
used, just remove it.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent be2d2dcd
...@@ -833,8 +833,6 @@ void media_device_pci_init(struct media_device *mdev, ...@@ -833,8 +833,6 @@ void media_device_pci_init(struct media_device *mdev,
mdev->hw_revision = (pci_dev->subsystem_vendor << 16) mdev->hw_revision = (pci_dev->subsystem_vendor << 16)
| pci_dev->subsystem_device; | pci_dev->subsystem_device;
mdev->driver_version = LINUX_VERSION_CODE;
media_device_init(mdev); media_device_init(mdev);
} }
EXPORT_SYMBOL_GPL(media_device_pci_init); EXPORT_SYMBOL_GPL(media_device_pci_init);
...@@ -862,7 +860,6 @@ void __media_device_usb_init(struct media_device *mdev, ...@@ -862,7 +860,6 @@ void __media_device_usb_init(struct media_device *mdev,
strlcpy(mdev->serial, udev->serial, sizeof(mdev->serial)); strlcpy(mdev->serial, udev->serial, sizeof(mdev->serial));
usb_make_path(udev, mdev->bus_info, sizeof(mdev->bus_info)); usb_make_path(udev, mdev->bus_info, sizeof(mdev->bus_info));
mdev->hw_revision = le16_to_cpu(udev->descriptor.bcdDevice); mdev->hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
mdev->driver_version = LINUX_VERSION_CODE;
media_device_init(mdev); media_device_init(mdev);
} }
......
...@@ -68,7 +68,6 @@ struct media_device_ops { ...@@ -68,7 +68,6 @@ struct media_device_ops {
* @serial: Device serial number (optional) * @serial: Device serial number (optional)
* @bus_info: Unique and stable device location identifier * @bus_info: Unique and stable device location identifier
* @hw_revision: Hardware device revision * @hw_revision: Hardware device revision
* @driver_version: Device driver version
* @topology_version: Monotonic counter for storing the version of the graph * @topology_version: Monotonic counter for storing the version of the graph
* topology. Should be incremented each time the topology changes. * topology. Should be incremented each time the topology changes.
* @id: Unique ID used on the last registered graph object * @id: Unique ID used on the last registered graph object
...@@ -134,7 +133,6 @@ struct media_device { ...@@ -134,7 +133,6 @@ struct media_device {
char serial[40]; char serial[40];
char bus_info[32]; char bus_info[32];
u32 hw_revision; u32 hw_revision;
u32 driver_version;
u64 topology_version; u64 topology_version;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment