[tip:core/header-fixes] headers: Fix build in drivers/net/wan/pci200syn.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  6ffb8c8a99f1e8ff83b430c35d09c402553989a9
Gitweb:     http://git.kernel.org/tip/6ffb8c8a99f1e8ff83b430c35d09c402553989a9
Author:     Ingo Molnar <mingo@xxxxxxx>
AuthorDate: Mon, 12 Oct 2009 10:34:03 +0200
Committer:  Ingo Molnar <mingo@xxxxxxx>
CommitDate: Tue, 13 Oct 2009 08:00:46 +0200

headers: Fix build in drivers/net/wan/pci200syn.c

Fix:

  drivers/net/wan/pci200syn.c: In function 'pci200_ioctl':
  drivers/net/wan/pci200syn.c:212: error: implicit declaration of function 'capable'
  drivers/net/wan/pci200syn.c:212: error: 'CAP_NET_ADMIN' undeclared (first use in this function)
  drivers/net/wan/pci200syn.c:212: error: (Each undeclared identifier is reported only once
  drivers/net/wan/pci200syn.c:212: error: for each function it appears in.)

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
 drivers/net/wan/pci200syn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c
index a52f29c..f1340fa 100644
--- a/drivers/net/wan/pci200syn.c
+++ b/drivers/net/wan/pci200syn.c
@@ -16,6 +16,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>
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux