[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __init and module_init()
On Fri, Apr 12, 2002 at 01:34:07AM -0400, Dan Erickson wrote:
>
> Ok, thanks for clearing up my thinking on that guys.
>
> Now my next question would be.... what happens if you do compile directly
> into the kernel? How does the kenrel know the drivers entry point? My best
> guess would be that it just uses the module_init() for the entry point
> even though you arnt compiling the driver as a module. Is this correct?
Please read the include/linux/init.h file, which explains all of this.
greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/