Skip to content

Commit

Permalink
serial: 8250_dw: remove ACPI ifdef
Browse files Browse the repository at this point in the history
ACPI now provides stubs for the functions the driver uses.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Dec 9, 2013
1 parent 42b6a1b commit 8913a31
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/tty/serial/8250/8250_dw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 8913a31

Please sign in to comment.