serial: 8250_dw: Fix the stub for dw8250_probe_acpi()
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 12 Apr 2013 09:44:27 +0000 (12:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Apr 2013 21:06:43 +0000 (14:06 -0700)
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>
drivers/tty/serial/8250/8250_dw.c

index 39b7ae465b5aaef731b670bef466d85af8c273ab..beaa283f5cc6f75c24484b11beb73704f25a6ccd 100644 (file)
@@ -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;
 }