From: Henrique de Moraes Holschuh Subject: Re: [PATCH] thinkpad_acpi: Fix old style declaration GCC warning Date: Fri, 25 Nov 2016 13:31:30 -0200 Message-ID: <20161125153130.GA4302@khazad-dum.debian.net> References: <20161125131807.3885-1-tklauser@distanz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20161125131807.3885-1-tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ibm-acpi-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Tobias Klauser Cc: Darren Hart , platform-driver-x86-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Henrique de Moraes Holschuh , ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: platform-driver-x86.vger.kernel.org On Fri, 25 Nov 2016, Tobias Klauser wrote: > Fix an [-Wold-style-declaration] GCC warning by moving the inline > keyword before the return type. > > Signed-off-by: Tobias Klauser Acked-by: Henrique de Moraes Holschuh > --- > drivers/platform/x86/thinkpad_acpi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c > index b65ce7519411..c24ce1adc577 100644 > --- a/drivers/platform/x86/thinkpad_acpi.c > +++ b/drivers/platform/x86/thinkpad_acpi.c > @@ -7716,7 +7716,7 @@ static struct ibm_struct volume_driver_data = { > > #define alsa_card NULL > > -static void inline volume_alsa_notify_change(void) > +static inline void volume_alsa_notify_change(void) > { > } > -- Henrique Holschuh ------------------------------------------------------------------------------