please apply to 2.6. --thanks
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1442 -> 1.1443
# drivers/atm/zatm.c 1.20 -> 1.21
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/16 chas@xxxxxxxxxxxxxxxxxxxxxx 1.1443
# [ATM]: [zatm] correct way to prevent module unload (from shemminger@xxxxxxxx)
# --------------------------------------------
#
diff -Nru a/drivers/atm/zatm.c b/drivers/atm/zatm.c
--- a/drivers/atm/zatm.c Sun Sep 21 09:36:31 2003
+++ b/drivers/atm/zatm.c Sun Sep 21 09:36:31 2003
@@ -1617,11 +1617,10 @@
out:
kfree(zatm_dev);
- /* XXX: currently the driver is not unloadable.. */
- MOD_INC_USE_COUNT;
return 0;
}
MODULE_LICENSE("GPL");
module_init(zatm_module_init);
+/* module_exit not defined so not unloadable */
|