diff options
| author | Christoph Hellwig <hch@lst.de> | 2003-04-20 00:39:29 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-20 00:39:29 -0700 |
| commit | 1c6099ba9a89e1287ff2198313dc7d2c2d6cac2a (patch) | |
| tree | 8f834f43cba19bac55e6e4cb29b01288a616f9a4 /include/linux | |
| parent | b252064916e4c8985f5696845842a348470ece24 (diff) | |
[PATCH] devfs: input
Make sure input always uses devfs_remove. While at it I've also
remove lots of code duplication - every upper input driver contained
the code surrounding devfs_unregister in two identical copies.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/input.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 5991c97b45cc..ca2f6f6b2d1e 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -895,8 +895,8 @@ void input_close_device(struct input_handle *); int input_accept_process(struct input_handle *handle, struct file *file); int input_flush_device(struct input_handle* handle, struct file* file); -devfs_handle_t input_register_minor(char *name, int minor, int minor_base); -void input_unregister_minor(devfs_handle_t handle); +/* will go away once devfs_register gets sanitized */ +void input_register_minor(char *name, int minor, int minor_base); void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value); |
