aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/wext.h2
-rw-r--r--kernel/hrtimer.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/net/wext.h b/include/net/wext.h
index 55741836a675..c02b8decf3af 100644
--- a/include/net/wext.h
+++ b/include/net/wext.h
@@ -10,7 +10,7 @@ extern int wext_proc_init(void);
10extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd, 10extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd,
11 void __user *arg); 11 void __user *arg);
12#else 12#else
13static inline int wext_proc_init() 13static inline int wext_proc_init(void)
14{ 14{
15 return 0; 15 return 0;
16} 16}
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index f5cfde8c9025..1b3033105b40 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -279,6 +279,8 @@ ktime_t ktime_add_ns(const ktime_t kt, u64 nsec)
279 279
280 return ktime_add(kt, tmp); 280 return ktime_add(kt, tmp);
281} 281}
282
283EXPORT_SYMBOL_GPL(ktime_add_ns);
282# endif /* !CONFIG_KTIME_SCALAR */ 284# endif /* !CONFIG_KTIME_SCALAR */
283 285
284/* 286/*