diff options
Diffstat (limited to 'drivers/firewire/core-transaction.c')
-rw-r--r-- | drivers/firewire/core-transaction.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c index dea2dcc9310..db8a965cf71 100644 --- a/drivers/firewire/core-transaction.c +++ b/drivers/firewire/core-transaction.c | |||
@@ -820,6 +820,15 @@ void fw_send_response(struct fw_card *card, | |||
820 | } | 820 | } |
821 | EXPORT_SYMBOL(fw_send_response); | 821 | EXPORT_SYMBOL(fw_send_response); |
822 | 822 | ||
823 | /** | ||
824 | * fw_get_request_speed() - returns speed at which the @request was received | ||
825 | */ | ||
826 | int fw_get_request_speed(struct fw_request *request) | ||
827 | { | ||
828 | return request->response.speed; | ||
829 | } | ||
830 | EXPORT_SYMBOL(fw_get_request_speed); | ||
831 | |||
823 | static void handle_exclusive_region_request(struct fw_card *card, | 832 | static void handle_exclusive_region_request(struct fw_card *card, |
824 | struct fw_packet *p, | 833 | struct fw_packet *p, |
825 | struct fw_request *request, | 834 | struct fw_request *request, |