firewire: Implement basic isochronous receive functionality.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
diff --git a/drivers/firewire/fw-iso.c b/drivers/firewire/fw-iso.c
index 4e7ba86..4c6dc99 100644
--- a/drivers/firewire/fw-iso.c
+++ b/drivers/firewire/fw-iso.c
@@ -105,9 +105,9 @@
buffer->pages = NULL;
}
-struct fw_iso_context *fw_iso_context_create(struct fw_card *card, int type,
- fw_iso_callback_t callback,
- void *callback_data)
+struct fw_iso_context *
+fw_iso_context_create(struct fw_card *card, int type, size_t header_size,
+ fw_iso_callback_t callback, void *callback_data)
{
struct fw_iso_context *ctx;
@@ -117,6 +117,7 @@
ctx->card = card;
ctx->type = type;
+ ctx->header_size = header_size;
ctx->callback = callback;
ctx->callback_data = callback_data;