aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/xen-blkfront.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-11 20:52:01 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-11 20:52:01 -0800
commit96b5a46e2a72dc1829370c87053e0cd558d58bc0 (patch)
tree1f327e4ee26377d40c5fcac8cda3f2fab03f6f09 /drivers/block/xen-blkfront.c
parent2c1582699872d38682b136b1446953ee351bc7e1 (diff)
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>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions