From: <li...@ba...> - 2007-02-11 11:36:39
|
Hi! Paul Bender "peb...@sa..." wrote: [...] >> The lirc kernel modules creates a directory in the sys file system for >> each lirc device (/sys/class/lirc/lirc*). However, unlike entries for >> many other types of devices, this directory does not contain a symbolic >> link to the underlying device. Is there some reason for this? [...] > Well, I decided to create a patch against 0.8.1 that adds the device link. [...] > In order to get the device pointer to lirc_class_device_create, I > changed the lirc_register_plugin function sot that the device pointer is > passed in the second argument. I thought about adding it to the > lirc_plugin structure instead. Including it in the structure might be a > better choice. Could you please rewrite the patch to add the pointer to the lirc_plugin structure? I don't want to change the lirc_dev interface. There are 3rd party drivers that use it. Thanks, Christoph |