module_init

Name

module_init --  driver initialization entry point

Synopsis

module_init ( x);

Arguments

x

function to be run at kernel boot time or module insertion

Description

module_init will add the driver initialization routine in the "__initcall.int" code segment if the driver is checked as "y" or static, or else it will wrap the driver initialization routine with init_module which is used by insmod and modprobe when the driver is used as a module.