Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53425
b: refs/heads/master
c: 3abccf3
h: refs/heads/master
i:
  53423: 4144c95
v: v3
  • Loading branch information
Dmitry Torokhov committed Apr 12, 2007
1 parent a982d31 commit c027de8
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 5014186de89708d0e9eed60526b698d5b786b707
refs/heads/master: 3abccf36081ac827cf5d14db6837117f088937eb
10 changes: 10 additions & 0 deletions trunk/include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,16 @@ static inline void input_put_device(struct input_dev *dev)
class_device_put(&dev->cdev);
}

static inline void *input_get_drvdata(struct input_dev *dev)
{
return dev->private;
}

static inline void input_set_drvdata(struct input_dev *dev, void *data)
{
dev->private = data;
}

int input_register_device(struct input_dev *);
void input_unregister_device(struct input_dev *);

Expand Down

0 comments on commit c027de8

Please sign in to comment.