Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280675
b: refs/heads/master
c: 0b1db83
h: refs/heads/master
i:
  280673: f06360e
  280671: faa1e5b
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Nov 15, 2011
1 parent cdcfe00 commit 1f2e203
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 1c7b13c4886f5cfaf02fb1052f65ef1a2fe88b9a
refs/heads/master: 0b1db83081599615cf7b254aebc14a2d8f6ca056
11 changes: 11 additions & 0 deletions trunk/drivers/tty/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1404,6 +1404,15 @@ static void uart_hangup(struct tty_struct *tty)
mutex_unlock(&port->mutex);
}

static int uart_port_activate(struct tty_port *port, struct tty_struct *tty)
{
return 0;
}

static void uart_port_shutdown(struct tty_port *port)
{
}

static int uart_carrier_raised(struct tty_port *port)
{
struct uart_state *state = container_of(port, struct uart_state, port);
Expand Down Expand Up @@ -2162,6 +2171,8 @@ static const struct tty_operations uart_ops = {
};

static const struct tty_port_operations uart_port_ops = {
.activate = uart_port_activate,
.shutdown = uart_port_shutdown,
.carrier_raised = uart_carrier_raised,
.dtr_rts = uart_dtr_rts,
};
Expand Down

0 comments on commit 1f2e203

Please sign in to comment.