diff options
Diffstat (limited to 'drivers/acpi/acpica/nsinit.c')
-rw-r--r-- | drivers/acpi/acpica/nsinit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/nsinit.c b/drivers/acpi/acpica/nsinit.c index 23e426f7fd1a..dd2ceae3f717 100644 --- a/drivers/acpi/acpica/nsinit.c +++ b/drivers/acpi/acpica/nsinit.c | |||
@@ -266,28 +266,34 @@ acpi_ns_init_one_object(acpi_handle obj_handle, | |||
266 | 266 | ||
267 | switch (type) { | 267 | switch (type) { |
268 | case ACPI_TYPE_REGION: | 268 | case ACPI_TYPE_REGION: |
269 | |||
269 | info->op_region_count++; | 270 | info->op_region_count++; |
270 | break; | 271 | break; |
271 | 272 | ||
272 | case ACPI_TYPE_BUFFER_FIELD: | 273 | case ACPI_TYPE_BUFFER_FIELD: |
274 | |||
273 | info->field_count++; | 275 | info->field_count++; |
274 | break; | 276 | break; |
275 | 277 | ||
276 | case ACPI_TYPE_LOCAL_BANK_FIELD: | 278 | case ACPI_TYPE_LOCAL_BANK_FIELD: |
279 | |||
277 | info->field_count++; | 280 | info->field_count++; |
278 | break; | 281 | break; |
279 | 282 | ||
280 | case ACPI_TYPE_BUFFER: | 283 | case ACPI_TYPE_BUFFER: |
284 | |||
281 | info->buffer_count++; | 285 | info->buffer_count++; |
282 | break; | 286 | break; |
283 | 287 | ||
284 | case ACPI_TYPE_PACKAGE: | 288 | case ACPI_TYPE_PACKAGE: |
289 | |||
285 | info->package_count++; | 290 | info->package_count++; |
286 | break; | 291 | break; |
287 | 292 | ||
288 | default: | 293 | default: |
289 | 294 | ||
290 | /* No init required, just exit now */ | 295 | /* No init required, just exit now */ |
296 | |||
291 | return (AE_OK); | 297 | return (AE_OK); |
292 | } | 298 | } |
293 | 299 | ||
@@ -337,7 +343,9 @@ acpi_ns_init_one_object(acpi_handle obj_handle, | |||
337 | break; | 343 | break; |
338 | 344 | ||
339 | default: | 345 | default: |
346 | |||
340 | /* No other types can get here */ | 347 | /* No other types can get here */ |
348 | |||
341 | break; | 349 | break; |
342 | } | 350 | } |
343 | 351 | ||
@@ -416,6 +424,7 @@ acpi_ns_find_ini_methods(acpi_handle obj_handle, | |||
416 | break; | 424 | break; |
417 | 425 | ||
418 | default: | 426 | default: |
427 | |||
419 | break; | 428 | break; |
420 | } | 429 | } |
421 | 430 | ||