diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-25 11:49:35 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-30 02:49:03 -0500 |
commit | 7a9568f536754623738110a314ff33286cdbb17d (patch) | |
tree | d961b9ee41911dc693e3a1c5d3bd25b25af8c427 /drivers/platform | |
parent | c03b26a5a5597a59b2e247d005d5901430109a8a (diff) |
dell-wmi - fix condition to abort driver loading
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
The commit 1fdd407f4e3f2ecb453954cbebb6c22491c61853 incorrectly made driver
abort loading when known GUID is present when it should have done exactly
the opposite.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/dell-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index 500af8c9ada0..1b1dddbd5744 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -330,7 +330,7 @@ static int __init dell_wmi_init(void) int err; acpi_status status; - if (wmi_has_guid(DELL_EVENT_GUID)) { + if (!wmi_has_guid(DELL_EVENT_GUID)) { printk(KERN_WARNING "dell-wmi: No known WMI GUID found\n"); return -ENODEV; } |