summaryrefslogtreecommitdiff
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 23:59:51 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 23:59:51 -0800
commit39769961b842895bddecbae7d823e894a6a11d17 (patch)
tree8e8d3227c01fa99ca8e5ba680ee266d6f88b7f3b /drivers/input/input.c
parenta914dd8b3b9ee9ccb2659b55fc98933c9f2a9c73 (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.c2
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;