diff options
author | Colin King <colin.king@canonical.com> | 2010-11-19 15:40:02 +0000 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-01-07 17:03:41 -0500 |
commit | 58f6425eb92f54943878b0b3f9c1e51f99c2cb72 (patch) | |
tree | aa4a5083adbf03561b9aee2d36129e0e7a5e2aa9 /drivers/pcmcia/cirrus.h | |
parent | 3098064d3b4a9bf9d2855b2a89599ad77695e324 (diff) | |
download | kernel_samsung_aries-58f6425eb92f54943878b0b3f9c1e51f99c2cb72.zip kernel_samsung_aries-58f6425eb92f54943878b0b3f9c1e51f99c2cb72.tar.gz kernel_samsung_aries-58f6425eb92f54943878b0b3f9c1e51f99c2cb72.tar.bz2 |
WMI: Cater for multiple events with same GUID
WMI data blocks can contain WMI events with the same GUID but with
different notifiy_ids, for example volume up/down hotkeys.
This patch enables a single event handler to be registered and
unregistered against all events with same GUID but different
notify_ids. Since an event handler is passed the notify_id of
an event it can can differentiate between the different events.
The patch also ensures we only register and unregister a device per
unique GUID.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/pcmcia/cirrus.h')
0 files changed, 0 insertions, 0 deletions