aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/core-transaction.c')
-rw-r--r--drivers/firewire/core-transaction.c9
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}
821EXPORT_SYMBOL(fw_send_response); 821EXPORT_SYMBOL(fw_send_response);
822 822
823/**
824 * fw_get_request_speed() - returns speed at which the @request was received
825 */
826int fw_get_request_speed(struct fw_request *request)
827{
828 return request->response.speed;
829}
830EXPORT_SYMBOL(fw_get_request_speed);
831
823static void handle_exclusive_region_request(struct fw_card *card, 832static 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,