psmouse et al and mousedev dependancy

From: Michael Tokarev
Date: Wed Mar 16 2005 - 11:55:12 EST


A quick (hopefully) question.

When mousedev is compiled as a module, loading psmouse or usbhid
modules does not enable the mouse, one have to load mousedev too.
The same is true for keybdev and actual keyboard drivers.

Why not add this dependancy explicitly in psmouse et al modules,
something like (pseudocode):

#if CONFIG_MOUSEDEV==m
request_module(mousedev);
#endif

, or, to "use" some symbol in psmouse.ko which is defined in mousedev?

Thanks.

/mjt
-
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/