ASoC: fsi: Move inline fsi_stream_is_play() before use
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 16 May 2017 17:20:00 +0000 (19:20 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2017 09:36:05 +0000 (10:36 +0100)
commit3048e76c93bccf875a49025870de08aed86c4692
tree0ee483e104040788d2daa4b9e733a04e69579bd1
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ASoC: fsi: Move inline fsi_stream_is_play() before use

With gcc 4.1.2:

    sound/soc/sh/fsi.c:304: warning: ‘fsi_stream_is_play’ declared inline after being called
    sound/soc/sh/fsi.c:304: warning: previous declaration of ‘fsi_stream_is_play’ was here

Move fsi_stream_is_play() up to fix this, removing the need for a
forward declaration as well.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/fsi.c