table of contents
other versions
- jessie 3.16.56-1+deb8u1
MODULE_EXIT(9) | Driver Basics | MODULE_EXIT(9) |
NAME¶
module_exit - driver exit entry pointSYNOPSIS¶
module_exit(x);
ARGUMENTS¶
xfunction to be run when driver is removed
DESCRIPTION¶
module_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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |