]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6655: fix static position in inline function
authorGuillaume Clement <gclement@baobob.org>
Thu, 24 Jul 2014 23:06:20 +0000 (01:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:21:27 +0000 (11:21 -0700)
This should be "static inline", not "inline static". Reported by
checkpatch.

Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device.h

index 7c7fec4810c941870578a4562decc71af2566399..a707984e451695a23077ba1ec85563df00e269aa 100644 (file)
@@ -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;