aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-card.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-03-28 15:26:42 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-28 15:30:14 -0400
commit66dea3e5f69abfdfa46b091ea117e497758351e7 (patch)
tree5db4238ff230cdb86f5c977c5a8cf0e76d055310 /drivers/firewire/fw-card.c
parentda8ecffaed434a12930f652898f9e86d1c2abc3e (diff)
firewire: Add ioctls to add and remove config rom descriptors.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (fixed whitespace)
Diffstat (limited to 'drivers/firewire/fw-card.c')
-rw-r--r--drivers/firewire/fw-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c
index 34863b60e23f..3eb06556a0c1 100644
--- a/drivers/firewire/fw-card.c
+++ b/drivers/firewire/fw-card.c
@@ -160,7 +160,7 @@ fw_core_add_descriptor (struct fw_descriptor *desc)
160 i += (desc->data[i] >> 16) + 1; 160 i += (desc->data[i] >> 16) + 1;
161 161
162 if (i != desc->length) 162 if (i != desc->length)
163 return -1; 163 return -EINVAL;
164 164
165 down_write(&fw_bus_type.subsys.rwsem); 165 down_write(&fw_bus_type.subsys.rwsem);
166 166