Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f07e0f1 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Kalle Valo
Browse files

wireless: ipw2200: fix old-style declaration



Modern C standards expect the 'inline' keyword to come before the return
type in a declaration, and we get a warning for this with "make W=1":

drivers/net/wireless/intel/ipw2x00/ipw2200.c:4096:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarStanislav Yakovlev <stas.yakovlev@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 2a063835
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4093,7 +4093,7 @@ static const char *ipw_get_status_code(u16 status)
	return "Unknown status value.";
}

static void inline average_init(struct average *avg)
static inline void average_init(struct average *avg)
{
	memset(avg, 0, sizeof(*avg));
}