aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/core-cdev.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c
index 8f8c8eeaf046..0cf86bcbeea2 100644
--- a/drivers/firewire/core-cdev.c
+++ b/drivers/firewire/core-cdev.c
@@ -46,6 +46,11 @@
46 46
47#include "core.h" 47#include "core.h"
48 48
49/*
50 * ABI version history is documented in linux/firewire-cdev.h.
51 */
52#define FW_CDEV_KERNEL_VERSION 3
53
49struct client { 54struct client {
50 u32 version; 55 u32 version;
51 struct fw_device *device; 56 struct fw_device *device;
@@ -395,7 +400,7 @@ static int ioctl_get_info(struct client *client, union ioctl_arg *arg)
395 unsigned long ret = 0; 400 unsigned long ret = 0;
396 401
397 client->version = a->version; 402 client->version = a->version;
398 a->version = FW_CDEV_VERSION; 403 a->version = FW_CDEV_KERNEL_VERSION;
399 a->card = client->device->card->index; 404 a->card = client->device->card->index;
400 405
401 down_read(&fw_device_rwsem); 406 down_read(&fw_device_rwsem);