From: Sven Eckelmann Date: Tue, 26 Dec 2017 10:52:22 +0000 (+0100) Subject: batman-adv: Fix missing function name for timer_setup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F337%2Fhead;p=feed%2Frouting.git batman-adv: Fix missing function name for timer_setup Signed-off-by: Sven Eckelmann --- diff --git a/batman-adv/files/compat-hacks.h b/batman-adv/files/compat-hacks.h index a5277c8..a27408d 100644 --- a/batman-adv/files/compat-hacks.h +++ b/batman-adv/files/compat-hacks.h @@ -321,7 +321,7 @@ static inline void *batadv_skb_put_data(struct sk_buff *skb, const void *data, #define TIMER_DATA_TYPE unsigned long #define TIMER_FUNC_TYPE void (*)(TIMER_DATA_TYPE) -static inline void (struct timer_list *timer, +static inline void timer_setup(struct timer_list *timer, void (*callback)(struct timer_list *), unsigned int flags) {