diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-16 21:43:24 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2019-04-03 00:12:19 +0200 |
commit | 994e40ef9ae3a6835c6ba2e7170247be9011114c (patch) | |
tree | ac5f248e1821b709f03bd11a15fc785ba0734bcb /net | |
parent | 8a2288f22b606904766f3cec13bbcc73d35aad87 (diff) |
NET: NETROM: Move all the module magic to the end of the file.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netrom/af_netrom.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index 1d3144d19903..cd1dca1f0df7 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c @@ -1459,16 +1459,6 @@ fail: goto out; } -module_init(nr_proto_init); - -module_param(nr_ndevs, int, 0); -MODULE_PARM_DESC(nr_ndevs, "number of NET/ROM devices"); - -MODULE_AUTHOR("Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>"); -MODULE_DESCRIPTION("The amateur radio NET/ROM network and transport layer protocol"); -MODULE_LICENSE("GPL"); -MODULE_ALIAS_NETPROTO(PF_NETROM); - static void __exit nr_exit(void) { int i; @@ -1502,4 +1492,14 @@ static void __exit nr_exit(void) kfree(dev_nr); proto_unregister(&nr_proto); } + +module_init(nr_proto_init); module_exit(nr_exit); + +module_param(nr_ndevs, int, 0); +MODULE_PARM_DESC(nr_ndevs, "number of NET/ROM devices"); + +MODULE_AUTHOR("Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>"); +MODULE_DESCRIPTION("The amateur radio NET/ROM network and transport layer protocol"); +MODULE_LICENSE("GPL"); +MODULE_ALIAS_NETPROTO(PF_NETROM); |