staging: wlags49_h2: fix extern inline functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 May 2015 20:26:23 +0000 (13:26 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:08:30 +0000 (13:08 +0000)
Patch not upstream as this driver is deleted there.

Fix up some "extern inline" functions as they break the build when using
a "modern" complier (i.e. gcc5).

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/wl_internal.h

index b2307816414910937e8c4301d1e87a12d9b6345d..11b00c39a98cbf880f3797e5d6e5d794b75a48dd 100644 (file)
@@ -1014,7 +1014,7 @@ static inline void wl_unlock(struct wl_private *lp,
 /* Interrupt enable disable functions                               */
 /********************************************************************/
 
-extern inline void wl_act_int_on(struct wl_private *lp)
+static inline void wl_act_int_on(struct wl_private *lp)
 {
        /*
         * Only do something when the driver is handling
@@ -1026,7 +1026,7 @@ extern inline void wl_act_int_on(struct wl_private *lp)
        }
 }
 
-extern inline void wl_act_int_off(struct wl_private *lp)
+static inline void wl_act_int_off(struct wl_private *lp)
 {
        /*
         * Only do something when the driver is handling