aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2012-03-04 07:56:55 -0500
committerDavid S. Miller <davem@davemloft.net>2012-03-04 20:41:38 -0500
commit4b32da2bcf1de2b7a196a0e48389d231b4472c36 (patch)
tree440b246f9fffb1126ceab28d7aa4c55c59187e11
parentbf7daebb9fba540cb8864f435f153678b3e5c171 (diff)
ppp: Replace uses of <linux/if_ppp.h> with <linux/ppp-ioctl.h>
Since all that include/linux/if_ppp.h does is #include <linux/ppp-ioctl.h>, this replaces the occurrences of #include <linux/if_ppp.h> with #include <linux/ppp-ioctl.h>. It also corrects an error in Documentation/networking/l2tp.txt, where it referenced include/linux/if_ppp.h as the source of some definitions that are actually now defined in include/linux/if_pppol2tp.h. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/networking/l2tp.txt2
-rw-r--r--drivers/isdn/capi/capi.c2
-rw-r--r--drivers/net/ppp/ppp_async.c2
-rw-r--r--drivers/net/ppp/ppp_synctty.c2
-rw-r--r--drivers/net/ppp/pppoe.c2
-rw-r--r--drivers/net/ppp/pppox.c2
-rw-r--r--drivers/tty/ipwireless/network.c2
-rw-r--r--drivers/tty/ipwireless/tty.c2
-rw-r--r--fs/compat_ioctl.c2
-rw-r--r--include/linux/isdn.h2
-rw-r--r--net/atm/pppoatm.c2
-rw-r--r--net/irda/irnet/irnet.h2
-rw-r--r--net/l2tp/l2tp_ppp.c2
13 files changed, 13 insertions, 13 deletions
diff --git a/Documentation/networking/l2tp.txt b/Documentation/networking/l2tp.txt
index e7bf3979facb..e63fc1f7bf87 100644
--- a/Documentation/networking/l2tp.txt
+++ b/Documentation/networking/l2tp.txt
@@ -111,7 +111,7 @@ When creating PPPoL2TP sockets, the application provides information
111to the driver about the socket in a socket connect() call. Source and 111to the driver about the socket in a socket connect() call. Source and
112destination tunnel and session ids are provided, as well as the file 112destination tunnel and session ids are provided, as well as the file
113descriptor of a UDP socket. See struct pppol2tp_addr in 113descriptor of a UDP socket. See struct pppol2tp_addr in
114include/linux/if_ppp.h. Note that zero tunnel / session ids are 114include/linux/if_pppol2tp.h. Note that zero tunnel / session ids are
115treated specially. When creating the per-tunnel PPPoL2TP management 115treated specially. When creating the per-tunnel PPPoL2TP management
116socket in Step 2 above, zero source and destination session ids are 116socket in Step 2 above, zero source and destination session ids are
117specified, which tells the driver to prepare the supplied UDP file 117specified, which tells the driver to prepare the supplied UDP file
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c
index d33a70c49180..0cf05464bfb7 100644
--- a/drivers/isdn/capi/capi.c
+++ b/drivers/isdn/capi/capi.c
@@ -25,7 +25,7 @@
25#include <linux/tty.h> 25#include <linux/tty.h>
26#include <linux/netdevice.h> 26#include <linux/netdevice.h>
27#include <linux/ppp_defs.h> 27#include <linux/ppp_defs.h>
28#include <linux/if_ppp.h> 28#include <linux/ppp-ioctl.h>
29#include <linux/skbuff.h> 29#include <linux/skbuff.h>
30#include <linux/proc_fs.h> 30#include <linux/proc_fs.h>
31#include <linux/seq_file.h> 31#include <linux/seq_file.h>
diff --git a/drivers/net/ppp/ppp_async.c b/drivers/net/ppp/ppp_async.c
index c6ba64380829..af95a98fd86f 100644
--- a/drivers/net/ppp/ppp_async.c
+++ b/drivers/net/ppp/ppp_async.c
@@ -26,7 +26,7 @@
26#include <linux/poll.h> 26#include <linux/poll.h>
27#include <linux/crc-ccitt.h> 27#include <linux/crc-ccitt.h>
28#include <linux/ppp_defs.h> 28#include <linux/ppp_defs.h>
29#include <linux/if_ppp.h> 29#include <linux/ppp-ioctl.h>
30#include <linux/ppp_channel.h> 30#include <linux/ppp_channel.h>
31#include <linux/spinlock.h> 31#include <linux/spinlock.h>
32#include <linux/init.h> 32#include <linux/init.h>
diff --git a/drivers/net/ppp/ppp_synctty.c b/drivers/net/ppp/ppp_synctty.c
index 736a39ee05bb..55e466c511d5 100644
--- a/drivers/net/ppp/ppp_synctty.c
+++ b/drivers/net/ppp/ppp_synctty.c
@@ -39,7 +39,7 @@
39#include <linux/netdevice.h> 39#include <linux/netdevice.h>
40#include <linux/poll.h> 40#include <linux/poll.h>
41#include <linux/ppp_defs.h> 41#include <linux/ppp_defs.h>
42#include <linux/if_ppp.h> 42#include <linux/ppp-ioctl.h>
43#include <linux/ppp_channel.h> 43#include <linux/ppp_channel.h>
44#include <linux/spinlock.h> 44#include <linux/spinlock.h>
45#include <linux/completion.h> 45#include <linux/completion.h>
diff --git a/drivers/net/ppp/pppoe.c b/drivers/net/ppp/pppoe.c
index bc9a4bb31980..2fa1a9b6f498 100644
--- a/drivers/net/ppp/pppoe.c
+++ b/drivers/net/ppp/pppoe.c
@@ -72,7 +72,7 @@
72#include <linux/if_pppox.h> 72#include <linux/if_pppox.h>
73#include <linux/ppp_channel.h> 73#include <linux/ppp_channel.h>
74#include <linux/ppp_defs.h> 74#include <linux/ppp_defs.h>
75#include <linux/if_ppp.h> 75#include <linux/ppp-ioctl.h>
76#include <linux/notifier.h> 76#include <linux/notifier.h>
77#include <linux/file.h> 77#include <linux/file.h>
78#include <linux/proc_fs.h> 78#include <linux/proc_fs.h>
diff --git a/drivers/net/ppp/pppox.c b/drivers/net/ppp/pppox.c
index 8c0d170dabcd..2940e9fe351b 100644
--- a/drivers/net/ppp/pppox.c
+++ b/drivers/net/ppp/pppox.c
@@ -28,7 +28,7 @@
28#include <linux/init.h> 28#include <linux/init.h>
29#include <linux/if_pppox.h> 29#include <linux/if_pppox.h>
30#include <linux/ppp_defs.h> 30#include <linux/ppp_defs.h>
31#include <linux/if_ppp.h> 31#include <linux/ppp-ioctl.h>
32#include <linux/ppp_channel.h> 32#include <linux/ppp_channel.h>
33#include <linux/kmod.h> 33#include <linux/kmod.h>
34 34
diff --git a/drivers/tty/ipwireless/network.c b/drivers/tty/ipwireless/network.c
index f7daeea598e4..57c8b481113f 100644
--- a/drivers/tty/ipwireless/network.c
+++ b/drivers/tty/ipwireless/network.c
@@ -22,7 +22,7 @@
22#include <linux/ppp_channel.h> 22#include <linux/ppp_channel.h>
23#include <linux/ppp_defs.h> 23#include <linux/ppp_defs.h>
24#include <linux/slab.h> 24#include <linux/slab.h>
25#include <linux/if_ppp.h> 25#include <linux/ppp-ioctl.h>
26#include <linux/skbuff.h> 26#include <linux/skbuff.h>
27 27
28#include "network.h" 28#include "network.h"
diff --git a/drivers/tty/ipwireless/tty.c b/drivers/tty/ipwireless/tty.c
index ef92869502a7..2ffa0b77770a 100644
--- a/drivers/tty/ipwireless/tty.c
+++ b/drivers/tty/ipwireless/tty.c
@@ -21,7 +21,7 @@
21#include <linux/mutex.h> 21#include <linux/mutex.h>
22#include <linux/ppp_defs.h> 22#include <linux/ppp_defs.h>
23#include <linux/if.h> 23#include <linux/if.h>
24#include <linux/if_ppp.h> 24#include <linux/ppp-ioctl.h>
25#include <linux/sched.h> 25#include <linux/sched.h>
26#include <linux/serial.h> 26#include <linux/serial.h>
27#include <linux/slab.h> 27#include <linux/slab.h>
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index a26bea10e81b..10d8cd90ca6f 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -34,7 +34,7 @@
34#include <linux/fs.h> 34#include <linux/fs.h>
35#include <linux/file.h> 35#include <linux/file.h>
36#include <linux/ppp_defs.h> 36#include <linux/ppp_defs.h>
37#include <linux/if_ppp.h> 37#include <linux/ppp-ioctl.h>
38#include <linux/if_pppox.h> 38#include <linux/if_pppox.h>
39#include <linux/mtio.h> 39#include <linux/mtio.h>
40#include <linux/auto_fs.h> 40#include <linux/auto_fs.h>
diff --git a/include/linux/isdn.h b/include/linux/isdn.h
index 4ccf95d681b4..292f27a793d4 100644
--- a/include/linux/isdn.h
+++ b/include/linux/isdn.h
@@ -187,7 +187,7 @@ typedef struct {
187#endif 187#endif
188 188
189#include <linux/ppp_defs.h> 189#include <linux/ppp_defs.h>
190#include <linux/if_ppp.h> 190#include <linux/ppp-ioctl.h>
191 191
192#include <linux/isdn_ppp.h> 192#include <linux/isdn_ppp.h>
193#endif 193#endif
diff --git a/net/atm/pppoatm.c b/net/atm/pppoatm.c
index df35d9a3b5fe..614d3fc47ede 100644
--- a/net/atm/pppoatm.c
+++ b/net/atm/pppoatm.c
@@ -44,7 +44,7 @@
44#include <linux/atmdev.h> 44#include <linux/atmdev.h>
45#include <linux/capability.h> 45#include <linux/capability.h>
46#include <linux/ppp_defs.h> 46#include <linux/ppp_defs.h>
47#include <linux/if_ppp.h> 47#include <linux/ppp-ioctl.h>
48#include <linux/ppp_channel.h> 48#include <linux/ppp_channel.h>
49#include <linux/atmppp.h> 49#include <linux/atmppp.h>
50 50
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h
index 979ecb2435a7..564eb0b8afa3 100644
--- a/net/irda/irnet/irnet.h
+++ b/net/irda/irnet/irnet.h
@@ -254,7 +254,7 @@
254#include <linux/init.h> 254#include <linux/init.h>
255 255
256#include <linux/ppp_defs.h> 256#include <linux/ppp_defs.h>
257#include <linux/if_ppp.h> 257#include <linux/ppp-ioctl.h>
258#include <linux/ppp_channel.h> 258#include <linux/ppp_channel.h>
259 259
260#include <net/irda/irda.h> 260#include <net/irda/irda.h>
diff --git a/net/l2tp/l2tp_ppp.c b/net/l2tp/l2tp_ppp.c
index 8a90d756c904..96bc7a67585a 100644
--- a/net/l2tp/l2tp_ppp.c
+++ b/net/l2tp/l2tp_ppp.c
@@ -82,7 +82,7 @@
82#include <net/sock.h> 82#include <net/sock.h>
83#include <linux/ppp_channel.h> 83#include <linux/ppp_channel.h>
84#include <linux/ppp_defs.h> 84#include <linux/ppp_defs.h>
85#include <linux/if_ppp.h> 85#include <linux/ppp-ioctl.h>
86#include <linux/file.h> 86#include <linux/file.h>
87#include <linux/hash.h> 87#include <linux/hash.h>
88#include <linux/sort.h> 88#include <linux/sort.h>