aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154/netlink.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-09-10 09:50:12 -0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-06 06:31:18 -0500
commitcb6b3763571570ebde1e82524c8a45a4275c8f11 (patch)
tree5a611b829f9758a49a538160607199816fefa78f /net/ieee802154/netlink.c
parenta9966b580a3e9d7cf820b5360b574f439d813ef4 (diff)
ieee802154: merge nl802154 and wpan-class in single module
There is no real need to have ieee802154 interfaces separate into several small modules, as neither of them has it's own use. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'net/ieee802154/netlink.c')
-rw-r--r--net/ieee802154/netlink.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c
index ca767bde17a4..0fadd6bd77f6 100644
--- a/net/ieee802154/netlink.c
+++ b/net/ieee802154/netlink.c
@@ -643,7 +643,7 @@ static struct genl_ops ieee802154_coordinator_ops[] = {
643 ieee802154_dump_iface), 643 ieee802154_dump_iface),
644}; 644};
645 645
646static int __init ieee802154_nl_init(void) 646int __init ieee802154_nl_init(void)
647{ 647{
648 int rc; 648 int rc;
649 int i; 649 int i;
@@ -676,14 +676,9 @@ fail:
676 genl_unregister_family(&ieee802154_coordinator_family); 676 genl_unregister_family(&ieee802154_coordinator_family);
677 return rc; 677 return rc;
678} 678}
679module_init(ieee802154_nl_init);
680 679
681static void __exit ieee802154_nl_exit(void) 680void __exit ieee802154_nl_exit(void)
682{ 681{
683 genl_unregister_family(&ieee802154_coordinator_family); 682 genl_unregister_family(&ieee802154_coordinator_family);
684} 683}
685module_exit(ieee802154_nl_exit);
686
687MODULE_LICENSE("GPL v2");
688MODULE_DESCRIPTION("ieee 802.15.4 configuration interface");
689 684