Query: module_exit
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MODULE_EXIT(9) Driver Basics MODULE_EXIT(9)NAMEmodule_exit - driver exit entry pointSYNOPSISmodule_exit(x);ARGUMENTSx function to be run when driver is removedDESCRIPTIONmodule_exit will wrap the driver clean-up code with cleanup_module when used with rmmod when the driver is a module. If the driver is statically compiled into the kernel, module_exit has no effect. There can only be one per module.COPYRIGHTKernel Hackers Manual 2.6. July 2010 MODULE_EXIT(9)