]> git.karo-electronics.de Git - linux-beck.git/commit
wireless: ipw2200: fix old-style declaration
authorArnd Bergmann <arnd@arndb.de>
Thu, 16 Jun 2016 13:52:10 +0000 (15:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 15:56:21 +0000 (18:56 +0300)
commit6f07e0f12a577a5820dd6b57c3f3b0f7f4a3c52c
tree6ed4f7f0b118aca68412350d713fbd176972be18
parent2a063835ce7cf584cee03484af803cd98e5fc9f2
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: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stanislav Yakovlev <stas.yakovlev@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/ipw2x00/ipw2200.c