xen: update tx_ready callback for ARM serial drivers

Type of tx_ready callback got changed to int to facilitate error condition,
but the ARM serial drivers were not modified thus breaking the compilation.

Reported-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: Tomasz Wroblewski <tomasz.wroblewski@citrix.com>
This commit is contained in:
Tomasz Wroblewski authored and Ian Campbell committed 2013-08-28 12:50:00 +01:00
1 parent 37f36d894e
commit 95d43eb2e9
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ static void exynos4210_uart_resume(struct serial_port *port)
BUG(); // XXX
}
static unsigned int exynos4210_uart_tx_ready(struct serial_port *port)
static int exynos4210_uart_tx_ready(struct serial_port *port)
{
struct exynos4210_uart *uart = port->uart;
+1 -1
View File
@@ -226,7 +226,7 @@ static void omap_uart_resume(struct serial_port *port)
BUG();
}
static unsigned int omap_uart_tx_ready(struct serial_port *port)
static int omap_uart_tx_ready(struct serial_port *port)
{
struct omap_uart *uart = port->uart;
uint32_t reg;
+1 -1
View File
@@ -155,7 +155,7 @@ static void pl011_resume(struct serial_port *port)
BUG(); // XXX
}
static unsigned int pl011_tx_ready(struct serial_port *port)
static int pl011_tx_ready(struct serial_port *port)
{
struct pl011 *uart = port->uart;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.