]> err.no Git - linux-2.6/blobdiff - drivers/acpi/dispatcher/dswload.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
[linux-2.6] / drivers / acpi / dispatcher / dswload.c
index 4ed08680ae7c2a44f401ef2174095bd0f00db050..8ab9d1b29a4ce4062f1163ed746a16a258c4cd4f 100644 (file)
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2006, R. Byron Moore
+ * Copyright (C) 2000 - 2007, R. Byron Moore
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -754,7 +754,7 @@ acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state,
                }
 
                flags = ACPI_NS_NO_UPSEARCH;
-               if (walk_state->pass_number == 3) {
+               if (walk_state->pass_number == ACPI_IMODE_EXECUTE) {
 
                        /* Execution mode, node cannot already exist, node is temporary */