summaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-07-05 13:02:27 -0700
committerTakashi Iwai <tiwai@suse.de>2017-07-06 09:24:17 +0200
commit6ede2b7df92f4f8da1abfa831a038688fcf409ea (patch)
tree368d20797e6aa9879d372166389fbab98f94168a /sound/drivers
parentfc18282cdcba984ab89c74d7e844c10114ae0795 (diff)
downloadlinux-stable-6ede2b7df92f4f8da1abfa831a038688fcf409ea.tar.gz
linux-stable-6ede2b7df92f4f8da1abfa831a038688fcf409ea.tar.bz2
linux-stable-6ede2b7df92f4f8da1abfa831a038688fcf409ea.zip
ALSA: opl4: Move inline before return type
Make the code like the rest of the kernel. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/opl4/opl4_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl4/opl4_lib.c b/sound/drivers/opl4/opl4_lib.c
index bc345d564f8d..db76a5bf2bd2 100644
--- a/sound/drivers/opl4/opl4_lib.c
+++ b/sound/drivers/opl4/opl4_lib.c
@@ -29,7 +29,7 @@ MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");
MODULE_DESCRIPTION("OPL4 driver");
MODULE_LICENSE("GPL");
-static void inline snd_opl4_wait(struct snd_opl4 *opl4)
+static inline void snd_opl4_wait(struct snd_opl4 *opl4)
{
int timeout = 10;
while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0)