serial: atmel_serial: add poll_get_char and poll_put_char uart_ops
authorAlbin Tonnerre <albin.tonnerre@free-electrons.com>
Wed, 9 Dec 2009 20:31:32 +0000 (12:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:43:08 +0000 (14:43 -0800)
commit8fe2d54145a51238308d333f9dc57c5df575ff78
treeaa56ae07170eab350ade6f8a59a303a10a2dc337
parent8b505ca8e2600eb9e7dd2d6b2682a81717671374
serial: atmel_serial: add poll_get_char and poll_put_char uart_ops

Permits using KGDB over the console with the atmel_serial driver.

[akpm@linux-foundation.org: s/barrier/cpu_relax/]
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/atmel_serial.c