summaryrefslogtreecommitdiffstats
path: root/sound/firewire/iso-resources.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/firewire/iso-resources.h')
-rw-r--r--sound/firewire/iso-resources.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/firewire/iso-resources.h b/sound/firewire/iso-resources.h
index 9feb9f8d474..3f0730e4d84 100644
--- a/sound/firewire/iso-resources.h
+++ b/sound/firewire/iso-resources.h
@@ -24,11 +24,11 @@ struct fw_iso_resources {
unsigned int bandwidth_overhead;
int generation; /* in which allocation is valid */
bool allocated;
- __be32 buffer[2];
+ __be32 *buffer;
};
-void fw_iso_resources_init(struct fw_iso_resources *r,
- struct fw_unit *unit);
+int fw_iso_resources_init(struct fw_iso_resources *r,
+ struct fw_unit *unit);
void fw_iso_resources_destroy(struct fw_iso_resources *r);
int fw_iso_resources_allocate(struct fw_iso_resources *r,