[BUG] hiddev.c 2.4.10-pre9

Philipp Matthias Hahn (pmhahn@titan.lahn.de)
Sun, 16 Sep 2001 12:09:40 +0200 (CEST)


Hello LKML, USB-ML, Vojtech!

The initialization order of hid.o and hiddev.o is wrong:

drivers/usb/hiddev.c:573 hiddev_connect() is called by
drivers/usb/hid-core.c:1225 hid_probe() before
drivers/usb/hiddev.c:665 hiddev_init() is called.

This results in hiddev_devfs_handle being NULL for each hid-device handled
by hiddev, so that all device-nodes are created as /dev/hiddev%d instead
of /dev/usb/hid/hiddev%d.

BYtE
Philipp

-- 
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/