This is not correct.
The functions should either be removed completely (preferred, since they
aren't even proper C syntax in the first place - since when do we put
semicolons at the end of a function?) or the file should be taught to use
proper "module_init()/module_exit()" semantics that work _correctly_ for
both modules and built-in.
The patch just hides just _how_ crap this file is, and as such should not
be applied. Crap doesn't get better from being hidden.
Linus
> +#ifdef MODULE
> int init_module(void) { return 0; };
> void cleanup_module(void) {};
> +#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/