Messages in this thread | | | Date | Mon, 10 Oct 2011 13:24:43 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH v2] ramfs: Remove module leftovers |
| |
On Mon, Oct 10, 2011 at 01:13:22PM +0200, Richard Weinberger wrote: > > Removing the dead code looks good, but what is the point in using > > device_initcall? We've always been using module_init for non-modular > > code, though. > > > > Ah, ok! > So we can keep the module_init()? > I was not sure whether it's valid to use module_init() in pure > non-modular code...
It is valid. And if it's not the style de jour anymore thousands of people will flame me now, but I've always done it that way.
| |