diff options
Diffstat (limited to 'drivers/acpi/acpica/utxface.c')
-rw-r--r-- | drivers/acpi/acpica/utxface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/utxface.c b/drivers/acpi/acpica/utxface.c index 644e8c8ebc4b..afa94f51ff0b 100644 --- a/drivers/acpi/acpica/utxface.c +++ b/drivers/acpi/acpica/utxface.c | |||
@@ -145,6 +145,8 @@ acpi_status acpi_enable_subsystem(u32 flags) | |||
145 | 145 | ||
146 | ACPI_FUNCTION_TRACE(acpi_enable_subsystem); | 146 | ACPI_FUNCTION_TRACE(acpi_enable_subsystem); |
147 | 147 | ||
148 | #if (!ACPI_REDUCED_HARDWARE) | ||
149 | |||
148 | /* Enable ACPI mode */ | 150 | /* Enable ACPI mode */ |
149 | 151 | ||
150 | if (!(flags & ACPI_NO_ACPI_ENABLE)) { | 152 | if (!(flags & ACPI_NO_ACPI_ENABLE)) { |
@@ -169,6 +171,7 @@ acpi_status acpi_enable_subsystem(u32 flags) | |||
169 | ACPI_WARNING((AE_INFO, "Could not map the FACS table")); | 171 | ACPI_WARNING((AE_INFO, "Could not map the FACS table")); |
170 | return_ACPI_STATUS(status); | 172 | return_ACPI_STATUS(status); |
171 | } | 173 | } |
174 | #endif /* !ACPI_REDUCED_HARDWARE */ | ||
172 | 175 | ||
173 | /* | 176 | /* |
174 | * Install the default op_region handlers. These are installed unless | 177 | * Install the default op_region handlers. These are installed unless |
@@ -184,7 +187,7 @@ acpi_status acpi_enable_subsystem(u32 flags) | |||
184 | return_ACPI_STATUS(status); | 187 | return_ACPI_STATUS(status); |
185 | } | 188 | } |
186 | } | 189 | } |
187 | 190 | #if (!ACPI_REDUCED_HARDWARE) | |
188 | /* | 191 | /* |
189 | * Initialize ACPI Event handling (Fixed and General Purpose) | 192 | * Initialize ACPI Event handling (Fixed and General Purpose) |
190 | * | 193 | * |
@@ -220,6 +223,7 @@ acpi_status acpi_enable_subsystem(u32 flags) | |||
220 | return_ACPI_STATUS(status); | 223 | return_ACPI_STATUS(status); |
221 | } | 224 | } |
222 | } | 225 | } |
226 | #endif /* !ACPI_REDUCED_HARDWARE */ | ||
223 | 227 | ||
224 | return_ACPI_STATUS(status); | 228 | return_ACPI_STATUS(status); |
225 | } | 229 | } |