]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/firewire/bebob/bebob_stream.c
ALSA: bebob: Fix prototype of helper function to return negative value
[mirror_ubuntu-bionic-kernel.git] / sound / firewire / bebob / bebob_stream.c
index 4d3034a68bdfbd587163566484eea57804260eb7..be2c056eb62df1b824de2af5995d5b6271908027 100644 (file)
@@ -253,8 +253,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;