diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-07-12 21:04:21 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-13 01:50:11 -0700 |
commit | 91d1ed1a6d225e3cf4bd8ede6235b1be65f7651a (patch) | |
tree | 38df1d1daebf331969348ac280f5b9add80b2adb /drivers/serial/mux.c | |
parent | a23c3a86e9952a8badb49a6bb1de455c1f5bad6d (diff) |
[SERIAL] sunsu: Handle keyboard and mouse ports directly.
The sunsu_ports[] array exists merely to be able to easily
use an integer index to get at the proper serial console
port struct.
We size this only for real ports, not for the keyboard and
mouse, and thus keyboard and mouse port registration would
fail.
Fix this by dynamically allocating the port struct for the
keyboard and mouse, instead of using the sunsu_ports[]
array.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial/mux.c')
0 files changed, 0 insertions, 0 deletions