Commit 26b97526 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [zatm] Correct way to prevent module unload (from shemminger@osdl.org).

parent 6291ceea
...@@ -1619,11 +1619,10 @@ static int __init zatm_module_init(void) ...@@ -1619,11 +1619,10 @@ static int __init zatm_module_init(void)
out: out:
kfree(zatm_dev); kfree(zatm_dev);
/* XXX: currently the driver is not unloadable.. */
MOD_INC_USE_COUNT;
return 0; return 0;
} }
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_init(zatm_module_init); module_init(zatm_module_init);
/* module_exit not defined so not unloadable */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment