From: Heikki Krogerus Date: Fri, 12 Apr 2013 09:44:27 +0000 (+0300) Subject: serial: 8250_dw: Fix the stub for dw8250_probe_acpi() X-Git-Tag: v3.10-rc1~191^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ec857ffe3ba6e9f567a12d3575dd09d2d41a208;p=profile%2Fivi%2Fkernel-x86-ivi.git 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. Reported-by: kbuild test robot Signed-off-by: Heikki Krogerus Signed-off-by: Greg Kroah-Hartman --- 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; }