aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers
diff options
context:
space:
mode:
authorTomasz Wroblewski <tomasz.wroblewski@citrix.com>2013-08-28 13:36:18 +0200
committerIan Campbell <ian.campbell@citrix.com>2013-08-28 12:50:00 +0100
commit95d43eb2e957470a3a96bcd94a2f1094bef12bde (patch)
tree5f0c23ffbb5f2bff334e817750e4e5dd07766b35 /xen/drivers
parent37f36d894ef43dc2986d0936612ec967c5a89be8 (diff)
downloadxen-95d43eb2e957470a3a96bcd94a2f1094bef12bde.tar.gz
xen-95d43eb2e957470a3a96bcd94a2f1094bef12bde.tar.bz2
xen-95d43eb2e957470a3a96bcd94a2f1094bef12bde.zip
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>
Diffstat (limited to 'xen/drivers')
-rw-r--r--xen/drivers/char/exynos4210-uart.c2
-rw-r--r--xen/drivers/char/omap-uart.c2
-rw-r--r--xen/drivers/char/pl011.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/xen/drivers/char/exynos4210-uart.c b/xen/drivers/char/exynos4210-uart.c
index 9b34f92713..b297ed4a83 100644
--- a/xen/drivers/char/exynos4210-uart.c
+++ b/xen/drivers/char/exynos4210-uart.c
@@ -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;
diff --git a/xen/drivers/char/omap-uart.c b/xen/drivers/char/omap-uart.c
index 91391c86c8..ffa71db921 100644
--- a/xen/drivers/char/omap-uart.c
+++ b/xen/drivers/char/omap-uart.c
@@ -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;
diff --git a/xen/drivers/char/pl011.c b/xen/drivers/char/pl011.c
index 3ea0d41f8c..3ec6e109d7 100644
--- a/xen/drivers/char/pl011.c
+++ b/xen/drivers/char/pl011.c
@@ -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;