[PARISC] [MUX] Make the Serial Mux driver work as module
authorRyan Bradetich <rbradetich@gmail.com>
Sun, 5 Nov 2006 01:21:44 +0000 (01:21 +0000)
committerKyle McMartin <kyle@ubuntu.com>
Fri, 8 Dec 2006 05:34:21 +0000 (00:34 -0500)
commitc380f057269686e17db74d360c923663889ac702
treef9f063b72dbabc17777d11099a166f292b5be071
parent9c6416ce6a9829ede1594403d19b22d23cf54e2e
[PARISC] [MUX] Make the Serial Mux driver work as module

The following updates are based off a patch from willy:
  * Removal of the mux_card list.
  * Add the mux_remove function.

Other updates:
  * Re-organize the driver structure a bit to make the
    mux_init and mux_exit functions more symmetrical.
  * Added the del_timer.
  * Unregistered the console.

At this point I can insmod, rmmod, and re-insmod the
mux without any failures.

Signed-off-by: Ryan Bradetich <rbrad@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/serial/mux.c