patch-2.1.18 linux/drivers/char/serial.c
Next file: linux/drivers/char/tty_io.c
Previous file: linux/drivers/char/riscom8.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri Dec 27 12:03:22 1996
- Orig file:
v2.1.17/linux/drivers/char/serial.c
- Orig date:
Wed Dec 18 15:58:47 1996
diff -u --recursive --new-file v2.1.17/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -2955,12 +2955,8 @@
int register_serial(struct serial_struct *req);
void unregister_serial(int line);
-static struct symbol_table serial_syms = {
-#include <linux/symtab_begin.h>
- X(register_serial),
- X(unregister_serial),
-#include <linux/symtab_end.h>
-};
+EXPORT_SYMBOL(register_serial);
+EXPORT_SYMBOL(unregister_serial);
/*
* The serial driver boot-time initialization code!
@@ -3062,7 +3058,7 @@
state->port, state->irq,
uart_config[state->type].name);
}
- register_symtab(&serial_syms);
+
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov