__init and module_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	
	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?

Thanks
-Dan Erickson-
-ColdOneKnight@rogers.com-

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux