Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325236
b: refs/heads/master
c: 699a89f
h: refs/heads/master
v: v3
  • Loading branch information
Jens Taprogge authored and Greg Kroah-Hartman committed Sep 12, 2012
1 parent fbf985a commit fabe1d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87cfb955007ece1ba2a78a419c033942ee300972
refs/heads/master: 699a89f1e291af0d47744200011d5c24d9e462a6
14 changes: 4 additions & 10 deletions trunk/drivers/staging/ipack/devices/ipoctal.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,11 @@ static inline int ipoctal_copy_write_buffer(struct ipoctal_channel *channel,
return i;
}

static int ipoctal_write(struct ipoctal_channel *channel,
const unsigned char *buf, int count)
static int ipoctal_write_tty(struct tty_struct *tty,
const unsigned char *buf, int count)
{
struct ipoctal_channel *channel = tty->driver_data;

channel->nb_bytes = 0;
channel->count_wr = 0;

Expand All @@ -519,14 +521,6 @@ static int ipoctal_write(struct ipoctal_channel *channel,
return channel->count_wr;
}

static int ipoctal_write_tty(struct tty_struct *tty,
const unsigned char *buf, int count)
{
struct ipoctal_channel *channel = tty->driver_data;

return ipoctal_write(channel, buf, count);
}

static int ipoctal_write_room(struct tty_struct *tty)
{
struct ipoctal_channel *channel = tty->driver_data;
Expand Down

0 comments on commit fabe1d6

Please sign in to comment.