Linus Torvalds 96b5a46e2a WMI: initialize wmi_blocks.list even if ACPI is disabled
Even if we don't want to register the WMI driver, we should initialize
the wmi_blocks list to be empty, since we don't want the wmi helper
functions to oops just because that basic list has not even been set up.

With this, "find_guid()" will happily return "not found" rather than
oopsing all over the place, and the callers will then just automatically
return false or AE_NOT_FOUND as appropriate.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-11 20:52:01 -08:00
..
2007-05-09 23:34:35 -04:00
2008-02-07 01:27:17 -05:00
2007-05-09 23:34:35 -04:00
2007-08-11 15:47:42 -07:00
2008-02-07 00:46:38 -05:00
2008-02-09 23:24:08 +01:00
2007-02-12 22:42:12 -05:00
2008-02-07 03:33:23 -05:00
2008-02-08 00:36:49 -05:00
2008-02-07 03:33:23 -05:00
2008-02-10 12:52:46 -08:00
2008-02-07 03:33:23 -05:00
2008-02-07 03:33:23 -05:00
2008-02-07 04:24:01 -05:00
2007-02-12 22:42:12 -05:00