serial: omap-serial: Add support for kernel debugger
authorCosmin Cojocar <cosmin.cojocar@gmail.com>
Sun, 5 Dec 2010 15:15:10 +0000 (16:15 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 23:17:19 +0000 (15:17 -0800)
commit1b41dbc1296269797efbb2b0837732b74de4731d
tree96281f7869f5b98f7cd9082d52d781ed86b85ebb
parent5ac387d983149d4658aad17242d24eef85a43fa8
serial: omap-serial: Add support for kernel debugger

The kgdb invokes the poll_put_char and poll_get_char when communicating
with the host. This patch also changes the initialization order because the
kgdb will check at the very beginning, if there is a valid serial
driver.

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/Makefile
drivers/serial/omap-serial.c