firewire: move rcode_string() to core

There is nothing audio-specific about the rcode_string() helper, so move
it from snd-firewire-lib into firewire-core to allow other code to use it.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (fixed sound/firewire/cmp.c)
This commit is contained in:
Clemens Ladisch
2012-04-11 17:38:10 +02:00
committed by Stefan Richter
szülő db7494e2ce
commit 7bdbff6762
5 fájl változott, egészen pontosan 29 új sor hozzáadva és 29 régi sor törölve

Fájl megtekintése

@@ -84,7 +84,7 @@ static int pcr_modify(struct cmp_connection *c,
return 0;
io_error:
cmp_error(c, "transaction failed: %s\n", rcode_string(rcode));
cmp_error(c, "transaction failed: %s\n", fw_rcode_string(rcode));
return -EIO;
bus_reset: