|
@@ -31,6 +31,7 @@
|
|
|
#include <linux/videodev2.h>
|
|
|
#include <linux/vmalloc.h>
|
|
|
#include <linux/wait.h>
|
|
|
+#include <linux/version.h>
|
|
|
#include <asm/atomic.h>
|
|
|
#include <asm/unaligned.h>
|
|
|
|
|
@@ -1857,7 +1858,7 @@ static int uvc_probe(struct usb_interface *intf,
|
|
|
sizeof(dev->mdev.serial));
|
|
|
strcpy(dev->mdev.bus_info, udev->devpath);
|
|
|
dev->mdev.hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
|
|
|
- dev->mdev.driver_version = DRIVER_VERSION_NUMBER;
|
|
|
+ dev->mdev.driver_version = LINUX_VERSION_CODE;
|
|
|
if (media_device_register(&dev->mdev) < 0)
|
|
|
goto error;
|
|
|
|