Commit 2723599a authored by gregkh@linuxfoundation.org's avatar gregkh@linuxfoundation.org Committed by Kamal Mostafa

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Philip Müller <philm@manjaro.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 4f692b5b
...@@ -1013,7 +1013,7 @@ static inline void wl_unlock(struct wl_private *lp, ...@@ -1013,7 +1013,7 @@ static inline void wl_unlock(struct wl_private *lp,
/* Interrupt enable disable functions */ /* 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 * Only do something when the driver is handling
...@@ -1025,7 +1025,7 @@ extern inline void wl_act_int_on(struct wl_private *lp) ...@@ -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 * Only do something when the driver is handling
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment