Hi,
I am stuck with __initfunc(), trying to make the ethernet driver more
talkative while booting I didn't succeed. So I replaced it with these
lines of code:
---------------
#include <linux/kernel.h>
__initfunc(void my_test(void))
{
printk("see if this shows up\n");
return 0;
}
---------------
It compiles with "declance.c:4: warning: return-type defaults to `int'"
and gets nicely archived and linked but doesn't show up when booting. My
question is what likes __initfunc() to see to behave decently?
Regards,
Richard
|