2013-04-12 09:44:31

by Heikki Krogerus

[permalink] [raw]
Subject: [PATCH 0/1] serial: 8250_dw: fix for tty-next



Heikki Krogerus (1):
serial: 8250_dw: Fix the stub for dw8250_probe_acpi()

drivers/tty/serial/8250/8250_dw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
1.7.10.4


2013-04-12 09:44:39

by Heikki Krogerus

[permalink] [raw]
Subject: [PATCH 1/1] serial: 8250_dw: Fix the stub for dw8250_probe_acpi()

This fixes the stub for dw8250_probe_acpi() that is used
when compiling without ACPI enabled. The argument type was
wrong.

Signed-off-by: Heikki Krogerus <[email protected]>
---
drivers/tty/serial/8250/8250_dw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
index 39b7ae4..beaa283 100644
--- a/drivers/tty/serial/8250/8250_dw.c
+++ b/drivers/tty/serial/8250/8250_dw.c
@@ -190,7 +190,7 @@ static int dw8250_probe_acpi(struct uart_8250_port *up)
return 0;
}
#else
-static inline int dw8250_probe_acpi(struct uart_port *p)
+static inline int dw8250_probe_acpi(struct uart_8250_port *up)
{
return -ENODEV;
}
--
1.7.10.4