pppox: use standard module auto-loading feature
authorGuillaume Nault <g.nault@alphalink.fr>
Wed, 2 Dec 2015 15:27:39 +0000 (16:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 20:12:54 +0000 (15:12 -0500)
commit681b4d88ad8e5b67c34f4d0a40448efb94e2b227
tree2cc08a0d7bccfc1d22ddd1f947a6147581db6612
parentc402293bd76fbc93e52ef8c0947ab81eea3ae019
pppox: use standard module auto-loading feature

* Register PF_PPPOX with pppox module rather than with pppoe,
    so that pppoe doesn't get loaded for any PF_PPPOX socket.

  * Register PX_PROTO_* with standard MODULE_ALIAS_NET_PF_PROTO()
    instead of using pppox's own naming scheme.

  * While there, add auto-loading feature for pptp.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/pppoe.c
drivers/net/ppp/pppox.c
drivers/net/ppp/pptp.c
net/l2tp/l2tp_ppp.c