[ALSA] trivial warning fix for emu10k1
authorJesper Juhl <juhl-lkml@dif.dk>
Wed, 20 Apr 2005 08:03:31 +0000 (10:03 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:04:43 +0000 (10:04 +0200)
EMU10K1/EMU10K2 driver
When building with gcc -W sound/pci/emu10k1/emupcm.c produces this little
warning in 2.6.12-rc2-mm3 :
  sound/pci/emu10k1/emupcm.c:265: warning: 'inline' is not at beginning of
declaration
No big deal, but trivial to fix.

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emupcm.c

index d1c2a02c486bcbcb466062d4453c13a364b66231..fd7cc389f82a7b150c3a0f2efd79c11b3e490dbc 100644 (file)
@@ -262,7 +262,7 @@ static unsigned int emu10k1_select_interprom(unsigned int pitch_target)
  *
  * returns: cache invalidate size in samples
  */
-static int inline emu10k1_ccis(int stereo, int w_16)
+static inline int emu10k1_ccis(int stereo, int w_16)
 {
        if (w_16) {
                return stereo ? 24 : 26;