Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220302
b: refs/heads/master
c: 29644b2
h: refs/heads/master
v: v3
  • Loading branch information
William Hubbs authored and Greg Kroah-Hartman committed Oct 12, 2010
1 parent 09a20df commit 2127f3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 99c8da0f4f4f1d14a8cd42b29dfa5625a1491662
refs/heads/master: 29644b22dafe87ffaf61b49496388ec5fde9bdc7
6 changes: 4 additions & 2 deletions trunk/drivers/staging/speakup/devsynth.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ static ssize_t speakup_file_write(struct file *fp, const char *buffer,
return (ssize_t) nbytes;
}

static ssize_t speakup_file_read(struct file *fp, char *buf, size_t nbytes, loff_t *ppos)
static ssize_t speakup_file_read(struct file *fp, char *buf, size_t nbytes,
loff_t *ppos)
{
return 0;
}
Expand Down Expand Up @@ -77,7 +78,8 @@ void speakup_register_devsynth(void)
if (misc_register(&synth_device))
pr_warn("Couldn't initialize miscdevice /dev/synth.\n");
else {
pr_info("initialized device: /dev/synth, node (MAJOR %d, MINOR %d)\n", MISC_MAJOR, SYNTH_MINOR);
pr_info("initialized device: /dev/synth, node (MAJOR %d, MINOR %d)\n",
MISC_MAJOR, SYNTH_MINOR);
misc_registered = 1;
}
}
Expand Down

0 comments on commit 2127f3c

Please sign in to comment.