summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-01-11 12:17:47 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 18:42:14 -0800
commit4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b (patch)
treed2aaf0b5986b03e6129ed3ccd65b9f706cd59c7f /net/bridge
parent16f7e0fe2ecc30f30652e8185e1772cdebe39109 (diff)
downloadop-kernel-dev-4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b.zip
op-kernel-dev-4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b.tar.gz
[PATCH] capable/capability.h (net/)
net: Use <linux/capability.h> where capable() is used. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_ioctl.c1
-rw-r--r--net/bridge/br_sysfs_br.c1
-rw-r--r--net/bridge/br_sysfs_if.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/net/bridge/br_ioctl.c b/net/bridge/br_ioctl.c
index b8ce14b..159fb84 100644
--- a/net/bridge/br_ioctl.c
+++ b/net/bridge/br_ioctl.c
@@ -13,6 +13,7 @@
* 2 of the License, or (at your option) any later version.
*/
+#include <linux/capability.h>
#include <linux/kernel.h>
#include <linux/if_bridge.h>
#include <linux/netdevice.h>
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c
index 98cf53c..6f577f1 100644
--- a/net/bridge/br_sysfs_br.c
+++ b/net/bridge/br_sysfs_br.c
@@ -11,6 +11,7 @@
* 2 of the License, or (at your option) any later version.
*/
+#include <linux/capability.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/if_bridge.h>
diff --git a/net/bridge/br_sysfs_if.c b/net/bridge/br_sysfs_if.c
index 2ebdc23..0ac0355 100644
--- a/net/bridge/br_sysfs_if.c
+++ b/net/bridge/br_sysfs_if.c
@@ -11,6 +11,7 @@
* 2 of the License, or (at your option) any later version.
*/
+#include <linux/capability.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/if_bridge.h>
OpenPOWER on IntegriCloud