mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user