<div dir="ltr">Hi Tobais,<br><br>On Thu, Jan 10, 2013 at 9:47 AM, Tobias Boege <<a href="mailto:tobias@gambas-buch.de">tobias@gambas-buch.de</a>> wrote:<br>> On Tue, 08 Jan 2013, anish kumar wrote:<br>> > On Tue, 2013-01-08 at 14:51 +0100, Tobias Boege wrote:<br>
...snip...<br>> > > On Tue, 08 Jan 2013, Rahul Bedarkar wrote:<br>> > > It's, too, in the init.h. There are two definitions of module_init()<br>> > > depending on whether MODULE is declared or not. The first definition is<br>
> > How does the individual driver define this MODULE?I think some macro<br>> > magic works here.<br>><br>> I suppose that this is done through the invocation of the preprocessor,<br>> using -DMODULE depending on whether the target is built-in or a module.<div>
<br></div><div>Exactly.</div><div><br>--<br>Dave Hylands<br>Shuswap, BC, Canada<br><a href="http://www.davehylands.com">http://www.davehylands.com</a><br></div></div>