Jan. 12, 2013
5:49 a.m.
Hi Tobais, On Thu, Jan 10, 2013 at 9:47 AM, Tobias Boege <tobias@gambas-buch.de> wrote:
On Tue, 08 Jan 2013, anish kumar wrote:
On Tue, 2013-01-08 at 14:51 +0100, Tobias Boege wrote: ...snip...
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 is 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.
Exactly. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com