From: Guillaume Clement Date: Thu, 24 Jul 2014 23:06:20 +0000 (+0200) Subject: staging: vt6655: fix static position in inline function X-Git-Tag: v3.17-rc1~123^2~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f742c7b98f38fbda19b4e8cc114e6878c7c3fbb;p=thirdparty%2Flinux.git staging: vt6655: fix static position in inline function This should be "static inline", not "inline static". Reported by checkpatch. Signed-off-by: Guillaume Clement Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 7c7fec4810c94..a707984e45169 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -778,7 +778,7 @@ inline static void EnQueue(PSDevice pDevice, PSRxMgmtPacket pRxMgmtPacket) } } -inline static PSRxMgmtPacket DeQueue(PSDevice pDevice) +static inline PSRxMgmtPacket DeQueue(PSDevice pDevice) { PSRxMgmtPacket pRxMgmtPacket; @@ -800,7 +800,7 @@ void InitRxManagementQueue(PSDevice pDevice); //PLICE_DEBUG<- -inline static bool device_get_ip(PSDevice pInfo) { +static inline bool device_get_ip(PSDevice pInfo) { struct in_device *in_dev = (struct in_device *)pInfo->dev->ip_ptr; struct in_ifaddr *ifa;