ALSA: bebob: Fix prototype of helper function to return negative value
[linux-2.6-block.git] / sound / firewire / bebob / bebob_stream.c
index 73fee991bd75a500d25f074d78d6c71843505881..6c1497d9f52bac0e62b0cfce5bb0e59c64c70d31 100644 (file)
@@ -252,8 +252,7 @@ end:
        return err;
 }
 
-static unsigned int
-map_data_channels(struct snd_bebob *bebob, struct amdtp_stream *s)
+static int map_data_channels(struct snd_bebob *bebob, struct amdtp_stream *s)
 {
        unsigned int sec, sections, ch, channels;
        unsigned int pcm, midi, location;