Skip to content

Commit

Permalink
platform/x86: thinkpad_acpi: Fix old style declaration GCC warning
Browse files Browse the repository at this point in the history
Fix an [-Wold-style-declaration] GCC warning by moving the inline
keyword before the return type.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
  • Loading branch information
Tobias Klauser authored and Darren Hart committed Dec 13, 2016
1 parent a3c42a4 commit bb55a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -7771,7 +7771,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)
{
}

Expand Down

0 comments on commit bb55a2e

Please sign in to comment.