On Fri, Dec 28, 2012 at 10:05:36AM +0100, Marc Balmer wrote:
> Using a kernel module is not possible in all cases.

By a closer look, you have:

        +#ifdef LUA
        +MODULE(MODULE_CLASS_DRIVER, gpiosim, "gpio,lua");
        +#else
         MODULE(MODULE_CLASS_DRIVER, gpiosim, "gpio");
        -
        +#endif
         #ifdef _MODULE

What does this mean? Also the kernel modules using lua(4) will be
conditionally compiled? I think this is fairly strongly against the design
principles of module(7).

- Jukka.

Reply via email to