From: David S. Miller Date: Thu, 13 Jul 2006 04:04:21 +0000 (-0700) Subject: [SERIAL] sunsu: Handle keyboard and mouse ports directly. X-Git-Tag: v2.6.18-rc2~90^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d1ed1a6d225e3cf4bd8ede6235b1be65f7651a;p=pandora-kernel.git [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 --- Reading git-diff-tree failed