]> git.baikalelectronics.ru Git - kernel.git/commit
wmi: Add support for module autoloading
authorMatthew Garrett <mjg@redhat.com>
Wed, 4 Nov 2009 19:17:53 +0000 (14:17 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 5 Nov 2009 17:29:37 +0000 (12:29 -0500)
commit37aa9a85a75714466c8cbe1a136c1509c3fc0eb6
tree1c41c27e2828d31b7ca838f958e9c6af364c69a1
parent06569f5994f91c576726e7c3260f2ae0d334e1f1
wmi: Add support for module autoloading

WMI provides interface-specific GUIDs that are exported from modules as
modalises, but the core currently generates no events to trigger module
loading. This patch adds support for registering devices for each WMI GUID
and generating the appropriate uevent.

Based heavily on a patch by Carlos Corbacho (<carlos@strangeworlds.co.uk>).

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Tested-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/wmi.c