2.6.0-test2 -fix joystick devfs name
PATCH 1/1 2.6.0-test2 -fix joystick devfs name
any reason joydev creates devices under /dev and not under /dev/input as all other input handlers?
-andrey
drivers/input/joydev.c renamed from drivers/input/joydev.c.devfs_name +2 -2
@@ -143,7 +143,7 @@ static int joydev_fasync(int fd, structstatic 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; }