Re: HID bus

From: Jiri Slaby
Date: Fri May 09 2008 - 17:25:23 EST


On 04/22/2008 02:00 AM, Jiri Kosina wrote:
On Sun, 20 Apr 2008, Jiri Slaby wrote:

So I suppose we still need the option to let users compile all the chosen drivers into hid.

This won't work either. It wouldn't link due to multiple definitions of module_init, module_exit and some module tables.

Another possible workaround is to introduce dummy "hid" module, that will just depend on all other drivers with a reference to certail symbol (and this could of course be optional as CONFIG_HID_COMPAT, or whatever).

Actually this may work if we load hid_dummy by request_module from hid. I have no other better idea.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/