blob: 60d68723134e9ec852aec5797b1e9c5eb91c7514 [file] [log] [blame]
From dd4d6c1aed59617635c5410735eee656667dff5b Mon Sep 17 00:00:00 2001
From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Date: Fri, 27 Sep 2013 10:21:07 +0300
Subject: serial: 8250_dw: fix broken function call
The stub for dw8250_probe_acpi() is missing an argument.
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>
(cherry picked from commit 058555739166561b97313123521574f0a9b2c9d7)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
drivers/tty/serial/8250/8250_dw.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/tty/serial/8250/8250_dw.c
+++ b/drivers/tty/serial/8250/8250_dw.c
@@ -308,7 +308,8 @@ static int dw8250_probe_acpi(struct uart
return 0;
}
#else
-static inline int dw8250_probe_acpi(struct uart_8250_port *up)
+static inline int dw8250_probe_acpi(struct uart_8250_port *up,
+ struct dw8250_data *data)
{
return -ENODEV;
}