summaryrefslogtreecommitdiff
path: root/drivers/net/wan/n2.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-10-12 18:22:46 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-13 21:20:16 +0400
commit86ae13b006e48959981248493efd3ff4b2828b3d (patch)
treec823456de41e8488ac1aac9f4cf0a0a31b9495c9 /drivers/net/wan/n2.c
parent03266d28ca5bf1959ee91dc6554c01b790975352 (diff)
downloadlinux-86ae13b006e48959981248493efd3ff4b2828b3d.tar.xz
headers: Fix build after <linux/sched.h> removal
Commit d43c36dc6b357fa1806800f18aa30123c747a6d1 ("headers: remove sched.h from interrupt.h") left some build errors in some configurations due to drivers having depended on getting header files "accidentally". Signed-off-by: Ingo Molnar <mingo@elte.hu> [ Combined several one-liners from Ingo into one single patch - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/wan/n2.c')
-rw-r--r--drivers/net/wan/n2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/n2.c b/drivers/net/wan/n2.c
index 83da596e2052..58c66819f39b 100644
--- a/drivers/net/wan/n2.c
+++ b/drivers/net/wan/n2.c
@@ -18,6 +18,7 @@
#include <linux/module.h>
#include <linux/kernel.h>
+#include <linux/capability.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/fcntl.h>