Browse Source

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 <fengguang.wu@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Heikki Krogerus 12 years ago
parent
commit
3ec857ffe3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/tty/serial/8250/8250_dw.c

+ 1 - 1
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;
 }