Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8913a316 authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman
Browse files

serial: 8250_dw: remove ACPI ifdef



ACPI now provides stubs for the functions the driver uses.

Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42b6a1ba
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -272,7 +272,6 @@ static int dw8250_probe_of(struct uart_port *p,
	return 0;
}

#ifdef CONFIG_ACPI
static int dw8250_probe_acpi(struct uart_8250_port *up,
			     struct dw8250_data *data)
{
@@ -300,13 +299,6 @@ static int dw8250_probe_acpi(struct uart_8250_port *up,

	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)
{