diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 23:59:51 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 23:59:51 -0800 |
| commit | 39769961b842895bddecbae7d823e894a6a11d17 (patch) | |
| tree | 8e8d3227c01fa99ca8e5ba680ee266d6f88b7f3b /drivers/input/input.c | |
| parent | a914dd8b3b9ee9ccb2659b55fc98933c9f2a9c73 (diff) | |
v2.5.1.6 -> v2.5.1.7
- Jeff Garzik: fix up loop and md for struct kdev_t typechecking
- Jeff Garzik: improved old-tulip network driver
- Arnaldo: more scsi driver bio updates
- Kai Germaschewski: ISDN updates
- various: kdev_t updates
Diffstat (limited to 'drivers/input/input.c')
| -rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 8c1775d60673..eb7fe0f1729c 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -368,7 +368,7 @@ void input_unregister_handler(struct input_handler *handler) static int input_open_file(struct inode *inode, struct file *file) { - struct input_handler *handler = input_table[MINOR(inode->i_rdev) >> 5]; + struct input_handler *handler = input_table[minor(inode->i_rdev) >> 5]; struct file_operations *old_fops, *new_fops = NULL; int err; |
