Merge pull request #337 from ecsv/batadv-2017.4
authorMoritz Warning <moritzwarning@web.de>
Sat, 6 Jan 2018 21:37:25 +0000 (22:37 +0100)
committerGitHub <noreply@github.com>
Sat, 6 Jan 2018 21:37:25 +0000 (22:37 +0100)
batman-adv: Fix missing function name for timer_setup in compat-hacks

batman-adv/files/compat-hacks.h

index a5277c8e48d24064a89e233527416b39dd603b79..a27408d1153dce7099f7746347cc43838b5bc6b8 100644 (file)
@@ -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)
 {