Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3547
b: refs/heads/master
c: e334016
h: refs/heads/master
i:
  3545: 1cfbb6f
  3543: db1c5e9
v: v3
  • Loading branch information
Luke Kosewski authored and Dmitry Torokhov committed Jun 1, 2005
1 parent d66da38 commit 75298b2
Show file tree
Hide file tree
Showing 2 changed files with 5 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: b6cbf3ef4f270c0dfe84b26649e4fc0c25bb0844
refs/heads/master: e334016fc1735e491385e14157a0360cd85c321b
4 changes: 4 additions & 0 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,8 @@ static int input_handlers_read(char *buf, char **start, off_t pos, int count, in
return (count > cnt) ? cnt : count;
}

static struct file_operations input_fileops;

static int __init input_proc_init(void)
{
struct proc_dir_entry *entry;
Expand All @@ -711,6 +713,8 @@ static int __init input_proc_init(void)
return -ENOMEM;
}
entry->owner = THIS_MODULE;
input_fileops = *entry->proc_fops;
entry->proc_fops = &input_fileops;
entry->proc_fops->poll = input_devices_poll;
entry = create_proc_read_entry("handlers", 0, proc_bus_input_dir, input_handlers_read, NULL);
if (entry == NULL) {
Expand Down

0 comments on commit 75298b2

Please sign in to comment.