Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354799
b: refs/heads/master
c: 053fac3
h: refs/heads/master
i:
  354797: 2e84239
  354795: ac3acaf
  354791: 40d6ad8
  354783: a465441
v: v3
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent 9420eb8 commit 385665d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3b0397fdf19b3c23f37012532482c787e01d4a0
refs/heads/master: 053fac36b1d9f76adde96a2f731965aaab3c632b
7 changes: 7 additions & 0 deletions trunk/drivers/tty/serial/8250/8250_dw.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ static int dw8250_probe_of(struct uart_port *p)
return 0;
}

#ifdef CONFIG_ACPI
static bool dw8250_acpi_dma_filter(struct dma_chan *chan, void *parm)
{
return chan->chan_id == *(int *)parm;
Expand Down Expand Up @@ -231,6 +232,12 @@ static int dw8250_probe_acpi(struct uart_port *p)

return 0;
}
#else
static inline int dw8250_probe_acpi(struct uart_port *p)
{
return -ENODEV;
}
#endif /* CONFIG_ACPI */

static void dw8250_setup_port(struct uart_8250_port *up)
{
Expand Down

0 comments on commit 385665d

Please sign in to comment.