rio_init, tty_io call confusion. 2.4.8-pre4

Keith Owens (kaos@ocs.com.au)
Mon, 06 Aug 2001 14:22:00 +1000


drivers/char/tty_io calls rio_init and gets a link error when rio is
linked into the kenrel because rio_init is declared as static. However
rio_init is also declared as module_init() so it gets called twice, one
from tty_io and once from the kernel initcall code. One of those calls
has to go. If you keep the tty_io call then rio_init cannot be static.

-
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/