summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/atm/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/atm/common.c b/net/atm/common.c
index 6656b111cc05..0f25a0b7b912 100644
--- a/net/atm/common.c
+++ b/net/atm/common.c
@@ -810,7 +810,8 @@ static void __exit atm_exit(void)
proto_unregister(&vcc_proto);
}
-module_init(atm_init);
+subsys_initcall(atm_init);
+
module_exit(atm_exit);
MODULE_LICENSE("GPL");