Commit 3ec857ff authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman

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: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b88d0826
...@@ -190,7 +190,7 @@ static int dw8250_probe_acpi(struct uart_8250_port *up) ...@@ -190,7 +190,7 @@ static int dw8250_probe_acpi(struct uart_8250_port *up)
return 0; return 0;
} }
#else #else
static inline int dw8250_probe_acpi(struct uart_port *p) static inline int dw8250_probe_acpi(struct uart_8250_port *up)
{ {
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment