aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device-cdev.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-16 17:34:41 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:02:59 -0500
commit69cdb7268ca2e644665dae8ea26e35ce4e96679c (patch)
tree36c68569d97dd3ee0dfc942f32a7f0e7147770d2 /drivers/firewire/fw-device-cdev.c
parent295e3feb92e5073ec32a3c626302d4b92c4c8a95 (diff)
firewire: Rename 'send_iso' to 'start_iso'.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-device-cdev.c')
-rw-r--r--drivers/firewire/fw-device-cdev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/firewire/fw-device-cdev.c b/drivers/firewire/fw-device-cdev.c
index 1101ccd9b9c1..b738c997ef39 100644
--- a/drivers/firewire/fw-device-cdev.c
+++ b/drivers/firewire/fw-device-cdev.c
@@ -503,15 +503,15 @@ static int ioctl_queue_iso(struct client *client, void __user *arg)
503 return count; 503 return count;
504} 504}
505 505
506static int ioctl_send_iso(struct client *client, void __user *arg) 506static int ioctl_start_iso(struct client *client, void __user *arg)
507{ 507{
508 struct fw_cdev_send_iso request; 508 struct fw_cdev_start_iso request;
509 509
510 if (copy_from_user(&request, arg, sizeof request)) 510 if (copy_from_user(&request, arg, sizeof request))
511 return -EFAULT; 511 return -EFAULT;
512 512
513 return fw_iso_context_send(client->iso_context, request.channel, 513 return fw_iso_context_start(client->iso_context, request.channel,
514 request.speed, request.cycle); 514 request.speed, request.cycle);
515} 515}
516 516
517static int 517static int
@@ -530,8 +530,8 @@ dispatch_ioctl(struct client *client, unsigned int cmd, void __user *arg)
530 return ioctl_create_iso_context(client, arg); 530 return ioctl_create_iso_context(client, arg);
531 case FW_CDEV_IOC_QUEUE_ISO: 531 case FW_CDEV_IOC_QUEUE_ISO:
532 return ioctl_queue_iso(client, arg); 532 return ioctl_queue_iso(client, arg);
533 case FW_CDEV_IOC_SEND_ISO: 533 case FW_CDEV_IOC_START_ISO:
534 return ioctl_send_iso(client, arg); 534 return ioctl_start_iso(client, arg);
535 default: 535 default:
536 return -EINVAL; 536 return -EINVAL;
537 } 537 }