aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-01-11 15:17:47 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 21:42:14 -0500
commit4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b (patch)
treed2aaf0b5986b03e6129ed3ccd65b9f706cd59c7f /net/irda
parent16f7e0fe2ecc30f30652e8185e1772cdebe39109 (diff)
[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/irda')
-rw-r--r--net/irda/af_irda.c1
-rw-r--r--net/irda/irda_device.c1
-rw-r--r--net/irda/irnet/irnet.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c
index fbfa96754417..759445648667 100644
--- a/net/irda/af_irda.c
+++ b/net/irda/af_irda.c
@@ -43,6 +43,7 @@
43 ********************************************************************/ 43 ********************************************************************/
44 44
45#include <linux/config.h> 45#include <linux/config.h>
46#include <linux/capability.h>
46#include <linux/module.h> 47#include <linux/module.h>
47#include <linux/types.h> 48#include <linux/types.h>
48#include <linux/socket.h> 49#include <linux/socket.h>
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c
index 70543d89438b..890bac0d4a56 100644
--- a/net/irda/irda_device.c
+++ b/net/irda/irda_device.c
@@ -33,6 +33,7 @@
33#include <linux/string.h> 33#include <linux/string.h>
34#include <linux/proc_fs.h> 34#include <linux/proc_fs.h>
35#include <linux/skbuff.h> 35#include <linux/skbuff.h>
36#include <linux/capability.h>
36#include <linux/if.h> 37#include <linux/if.h>
37#include <linux/if_ether.h> 38#include <linux/if_ether.h>
38#include <linux/if_arp.h> 39#include <linux/if_arp.h>
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h
index b391cb3893d4..e4fe1e80029c 100644
--- a/net/irda/irnet/irnet.h
+++ b/net/irda/irnet/irnet.h
@@ -248,6 +248,7 @@
248#include <linux/netdevice.h> 248#include <linux/netdevice.h>
249#include <linux/miscdevice.h> 249#include <linux/miscdevice.h>
250#include <linux/poll.h> 250#include <linux/poll.h>
251#include <linux/capability.h>
251#include <linux/config.h> 252#include <linux/config.h>
252#include <linux/ctype.h> /* isspace() */ 253#include <linux/ctype.h> /* isspace() */
253#include <asm/uaccess.h> 254#include <asm/uaccess.h>