[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b917f32c-cacf-10a8-b9d5-b01da8a75992@ladisch.de>
Date: Wed, 5 Jul 2017 22:30:05 +0200
From: Clemens Ladisch <clemens@...isch.de>
To: Joe Perches <joe@...ches.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 18/18] ALSA: opl4: Move inline before return type
Joe Perches wrote:
> Make the code like the rest of the kernel.
>
> Signed-off-by: Joe Perches <joe@...ches.com>
Acked-by: Clemens Ladisch <clemens@...isch.de>
> ---
> sound/drivers/opl4/opl4_lib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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@...isch.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)
Powered by blists - more mailing lists