diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-23 13:26:23 -0700 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-05-26 16:27:00 +0200 |
commit | 50defa03f66e012438528be00a1ccca23c4c007e (patch) | |
tree | c1331cd52c1994162c74bdd42cc270cc4d711c88 /drivers | |
parent | 1ac03d64ccd7923fe6eebd87908f06700dbf1e37 (diff) |
staging: wlags49_h2: fix extern inline functions
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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wlags49_h2/wl_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlags49_h2/wl_internal.h b/drivers/staging/wlags49_h2/wl_internal.h index 78129e93920f..1ecb5cb44bd5 100644 --- a/drivers/staging/wlags49_h2/wl_internal.h +++ b/drivers/staging/wlags49_h2/wl_internal.h @@ -1013,7 +1013,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 @@ -1025,7 +1025,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 |