firewire: cdev: amendment to "add ioctl to query maximum transmission speed"
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 10 Mar 2009 19:59:16 +0000 (20:59 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:49 +0000 (20:56 +0100)
commitc8a25900f35e575938c791507894c036c0f2ca7d
treee413f9e098dea94c74fd0aab35a511800043c97b
parent6104ee92d62ea3638b67494fcf061cb4b9b9d518
firewire: cdev: amendment to "add ioctl to query maximum transmission speed"

The as yet unreleased FW_CDEV_IOC_GET_SPEED ioctl puts only a single
integer into the parameter buffer.  We can use ioctl()'s return value
instead.

(Also: Some whitespace change in firewire-cdev.h.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c
include/linux/firewire-cdev.h