diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2013-04-12 05:44:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-12 17:06:43 -0400 |
commit | 3ec857ffe3ba6e9f567a12d3575dd09d2d41a208 (patch) | |
tree | 113d08a10945ea05b0e62551839371732dde8777 /drivers/tty/serial | |
parent | b88d0826ecb949f62597d4733e50e589058c20b4 (diff) |
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>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/8250/8250_dw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index 39b7ae465b5a..beaa283f5cc6 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) | |||
190 | return 0; | 190 | return 0; |
191 | } | 191 | } |
192 | #else | 192 | #else |
193 | static inline int dw8250_probe_acpi(struct uart_port *p) | 193 | static inline int dw8250_probe_acpi(struct uart_8250_port *up) |
194 | { | 194 | { |
195 | return -ENODEV; | 195 | return -ENODEV; |
196 | } | 196 | } |