Regarding module init function
dhylands at gmail.com
Sat Jan 12 00:49:42 EST 2013
On Thu, Jan 10, 2013 at 9:47 AM, Tobias Boege <tobias at gambas-buch.de> wrote:
> On Tue, 08 Jan 2013, anish kumar wrote:
> > On Tue, 2013-01-08 at 14:51 +0100, Tobias Boege wrote:
> > > On Tue, 08 Jan 2013, Rahul Bedarkar wrote:
> > > It's, too, in the init.h. There are two definitions of module_init()
> > > depending on whether MODULE is declared or not. The first definition
> > How does the individual driver define this MODULE?I think some macro
> > magic works here.
> I suppose that this is done through the invocation of the preprocessor,
> using -DMODULE depending on whether the target is built-in or a module.
Shuswap, BC, Canada
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies