提交 8913a316 编写于 作者: H Heikki Krogerus 提交者: Greg Kroah-Hartman

serial: 8250_dw: remove ACPI ifdef

ACPI now provides stubs for the functions the driver uses.
Signed-off-by: NHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 42b6a1ba
...@@ -272,7 +272,6 @@ static int dw8250_probe_of(struct uart_port *p, ...@@ -272,7 +272,6 @@ static int dw8250_probe_of(struct uart_port *p,
return 0; return 0;
} }
#ifdef CONFIG_ACPI
static int dw8250_probe_acpi(struct uart_8250_port *up, static int dw8250_probe_acpi(struct uart_8250_port *up,
struct dw8250_data *data) struct dw8250_data *data)
{ {
...@@ -300,13 +299,6 @@ static int dw8250_probe_acpi(struct uart_8250_port *up, ...@@ -300,13 +299,6 @@ static int dw8250_probe_acpi(struct uart_8250_port *up,
return 0; return 0;
} }
#else
static inline int dw8250_probe_acpi(struct uart_8250_port *up,
struct dw8250_data *data)
{
return -ENODEV;
}
#endif /* CONFIG_ACPI */
static int dw8250_probe(struct platform_device *pdev) static int dw8250_probe(struct platform_device *pdev)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册