1MODULE_EXIT(9)                   Driver Basics                  MODULE_EXIT(9)
2
3
4

NAME

6       module_exit - driver exit entry point
7

SYNOPSIS

9       module_exit(x);
10

ARGUMENTS

12       x
13           function to be run when driver is removed
14

DESCRIPTION

16       module_exit will wrap the driver clean-up code with cleanup_module when
17       used with rmmod when the driver is a module. If the driver is
18       statically compiled into the kernel, module_exit has no effect. There
19       can only be one per module.
20
22Kernel Hackers Manual 2.6.       November 2011                  MODULE_EXIT(9)
Impressum