* [PATCH][TRIVIAL] 2.6.0-test2 -fix joystick devfs name
@ 2003-08-02 15:46 Andrey Borzenkov
0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2003-08-02 15:46 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
any reason joydev creates devices under /dev and not under /dev/input as all
other input handlers?
-andrey
[-- Attachment #2: 2.6.0-test2-joydev_devfs_name.patch --]
[-- Type: text/x-diff, Size: 723 bytes --]
--- linux-2.6.0-test2-smp/drivers/input/joydev.c.devfs_name 2003-06-26 21:39:35.000000000 +0400
+++ linux-2.6.0-test2-smp/drivers/input/joydev.c 2003-08-02 19:40:24.000000000 +0400
@@ -143,7 +143,7 @@ static int joydev_fasync(int fd, struct
static void joydev_free(struct joydev *joydev)
{
- devfs_remove("js%d", joydev->minor);
+ devfs_remove("input/js%d", joydev->minor);
joydev_table[joydev->minor] = NULL;
kfree(joydev);
}
@@ -447,7 +447,7 @@ static struct input_handle *joydev_conne
joydev_table[minor] = joydev;
devfs_mk_cdev(MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + minor),
- S_IFCHR|S_IRUGO|S_IWUSR, "js%d", minor);
+ S_IFCHR|S_IRUGO|S_IWUSR, "input/js%d", minor);
return &joydev->handle;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-02 15:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-02 15:46 [PATCH][TRIVIAL] 2.6.0-test2 -fix joystick devfs name Andrey Borzenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).