diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2016-04-28 17:55:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-29 16:09:44 -0400 |
commit | 7d9f0b48746d37e4381efc02da27535a0a1bac43 (patch) | |
tree | 088b165870ef000dd9e77c5d42f48bf58b38decd /drivers/net/appletalk | |
parent | net: ethernet: stmmac: update MDIO support for GMAC4 (diff) | |
download | linux-dev-7d9f0b48746d37e4381efc02da27535a0a1bac43.tar.xz linux-dev-7d9f0b48746d37e4381efc02da27535a0a1bac43.zip |
ppp: define reusable device creation functions
Move PPP device initialisation and registration out of
ppp_create_interface().
This prepares code for device registration with rtnetlink.
While there, simplify the prototype of ppp_create_interface():
* Since ppp_dev_configure() takes care of setting file->private_data,
there's no need to return a ppp structure to ppp_unattached_ioctl()
anymore.
* The unit parameter is made read/write so that ppp_create_interface()
can tell which unit number has been assigned.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions