2002-07-25 12:30:19

by Craig Kulesa

[permalink] [raw]
Subject: [PATCH] fix unresolved syms for serial drivers, 2.5.28



The following two patches seem to be needed to export the requisite
symbols needed for fully modular builds of the new serial drivers in
2.5.28. Sound sane?

--- linux-2.5.28/drivers/serial/core.c~ Wed Jul 24 20:56:15 2002
+++ linux-2.5.28/drivers/serial/core.c Wed Jul 24 23:40:31 2002
@@ -2469,6 +2469,8 @@
EXPORT_SYMBOL(uart_unregister_driver);
EXPORT_SYMBOL(uart_register_port);
EXPORT_SYMBOL(uart_unregister_port);
+EXPORT_SYMBOL(uart_add_one_port);
+EXPORT_SYMBOL(uart_remove_one_port);

MODULE_DESCRIPTION("Serial driver core");
MODULE_LICENSE("GPL");


--- linux-2.5.28/drivers/char/tty_io.c~ Wed Jul 24 20:56:01 2002
+++ linux-2.5.28/drivers/char/tty_io.c Wed Jul 24 23:41:31 2002
@@ -545,6 +545,7 @@
#endif
do_tty_hangup((void *) tty);
}
+EXPORT_SYMBOL(tty_vhangup);

int tty_hung_up_p(struct file * filp)
{


They can also be obtained here:
http://loke.as.arizona.edu/~ckulesa/kernel/rmap-vm/2.5.28/


Craig Kulesa
Steward Obs.
Univ. of Arizona