mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
37f36d894e
commit
95d43eb2e9
3 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||