diff options
Diffstat (limited to 'drivers/acpi/events')
| -rw-r--r-- | drivers/acpi/events/evgpe.c | 8 | ||||
| -rw-r--r-- | drivers/acpi/events/evgpeblk.c | 10 | ||||
| -rw-r--r-- | drivers/acpi/events/evxface.c | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/drivers/acpi/events/evgpe.c b/drivers/acpi/events/evgpe.c index f51c3b16c608..bdd86537738e 100644 --- a/drivers/acpi/events/evgpe.c +++ b/drivers/acpi/events/evgpe.c | |||
| @@ -372,14 +372,14 @@ struct acpi_gpe_event_info *acpi_ev_get_gpe_event_info(acpi_handle gpe_device, | |||
| 372 | 372 | ||
| 373 | u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list) | 373 | u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list) |
| 374 | { | 374 | { |
| 375 | acpi_status status; | ||
| 376 | struct acpi_gpe_block_info *gpe_block; | ||
| 377 | struct acpi_gpe_register_info *gpe_register_info; | ||
| 375 | u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; | 378 | u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; |
| 376 | u8 enabled_status_byte; | 379 | u8 enabled_status_byte; |
| 377 | struct acpi_gpe_register_info *gpe_register_info; | ||
| 378 | u32 status_reg; | 380 | u32 status_reg; |
| 379 | u32 enable_reg; | 381 | u32 enable_reg; |
| 380 | u32 flags; | 382 | acpi_native_uint flags; |
| 381 | acpi_status status; | ||
| 382 | struct acpi_gpe_block_info *gpe_block; | ||
| 383 | acpi_native_uint i; | 383 | acpi_native_uint i; |
| 384 | acpi_native_uint j; | 384 | acpi_native_uint j; |
| 385 | 385 | ||
diff --git a/drivers/acpi/events/evgpeblk.c b/drivers/acpi/events/evgpeblk.c index b312eb33c43e..7ca10c5f2914 100644 --- a/drivers/acpi/events/evgpeblk.c +++ b/drivers/acpi/events/evgpeblk.c | |||
| @@ -136,7 +136,7 @@ acpi_status acpi_ev_walk_gpe_list(ACPI_GPE_CALLBACK gpe_walk_callback) | |||
| 136 | struct acpi_gpe_block_info *gpe_block; | 136 | struct acpi_gpe_block_info *gpe_block; |
| 137 | struct acpi_gpe_xrupt_info *gpe_xrupt_info; | 137 | struct acpi_gpe_xrupt_info *gpe_xrupt_info; |
| 138 | acpi_status status = AE_OK; | 138 | acpi_status status = AE_OK; |
| 139 | u32 flags; | 139 | acpi_native_uint flags; |
| 140 | 140 | ||
| 141 | ACPI_FUNCTION_TRACE("ev_walk_gpe_list"); | 141 | ACPI_FUNCTION_TRACE("ev_walk_gpe_list"); |
| 142 | 142 | ||
| @@ -479,7 +479,7 @@ static struct acpi_gpe_xrupt_info *acpi_ev_get_gpe_xrupt_block(u32 | |||
| 479 | struct acpi_gpe_xrupt_info *next_gpe_xrupt; | 479 | struct acpi_gpe_xrupt_info *next_gpe_xrupt; |
| 480 | struct acpi_gpe_xrupt_info *gpe_xrupt; | 480 | struct acpi_gpe_xrupt_info *gpe_xrupt; |
| 481 | acpi_status status; | 481 | acpi_status status; |
| 482 | u32 flags; | 482 | acpi_native_uint flags; |
| 483 | 483 | ||
| 484 | ACPI_FUNCTION_TRACE("ev_get_gpe_xrupt_block"); | 484 | ACPI_FUNCTION_TRACE("ev_get_gpe_xrupt_block"); |
| 485 | 485 | ||
| @@ -553,7 +553,7 @@ static acpi_status | |||
| 553 | acpi_ev_delete_gpe_xrupt(struct acpi_gpe_xrupt_info *gpe_xrupt) | 553 | acpi_ev_delete_gpe_xrupt(struct acpi_gpe_xrupt_info *gpe_xrupt) |
| 554 | { | 554 | { |
| 555 | acpi_status status; | 555 | acpi_status status; |
| 556 | u32 flags; | 556 | acpi_native_uint flags; |
| 557 | 557 | ||
| 558 | ACPI_FUNCTION_TRACE("ev_delete_gpe_xrupt"); | 558 | ACPI_FUNCTION_TRACE("ev_delete_gpe_xrupt"); |
| 559 | 559 | ||
| @@ -610,7 +610,7 @@ acpi_ev_install_gpe_block(struct acpi_gpe_block_info *gpe_block, | |||
| 610 | struct acpi_gpe_block_info *next_gpe_block; | 610 | struct acpi_gpe_block_info *next_gpe_block; |
| 611 | struct acpi_gpe_xrupt_info *gpe_xrupt_block; | 611 | struct acpi_gpe_xrupt_info *gpe_xrupt_block; |
| 612 | acpi_status status; | 612 | acpi_status status; |
| 613 | u32 flags; | 613 | acpi_native_uint flags; |
| 614 | 614 | ||
| 615 | ACPI_FUNCTION_TRACE("ev_install_gpe_block"); | 615 | ACPI_FUNCTION_TRACE("ev_install_gpe_block"); |
| 616 | 616 | ||
| @@ -663,7 +663,7 @@ acpi_ev_install_gpe_block(struct acpi_gpe_block_info *gpe_block, | |||
| 663 | acpi_status acpi_ev_delete_gpe_block(struct acpi_gpe_block_info *gpe_block) | 663 | acpi_status acpi_ev_delete_gpe_block(struct acpi_gpe_block_info *gpe_block) |
| 664 | { | 664 | { |
| 665 | acpi_status status; | 665 | acpi_status status; |
| 666 | u32 flags; | 666 | acpi_native_uint flags; |
| 667 | 667 | ||
| 668 | ACPI_FUNCTION_TRACE("ev_install_gpe_block"); | 668 | ACPI_FUNCTION_TRACE("ev_install_gpe_block"); |
| 669 | 669 | ||
diff --git a/drivers/acpi/events/evxface.c b/drivers/acpi/events/evxface.c index 43b33d19cdf9..57d73299298e 100644 --- a/drivers/acpi/events/evxface.c +++ b/drivers/acpi/events/evxface.c | |||
| @@ -562,7 +562,7 @@ acpi_install_gpe_handler(acpi_handle gpe_device, | |||
| 562 | struct acpi_gpe_event_info *gpe_event_info; | 562 | struct acpi_gpe_event_info *gpe_event_info; |
| 563 | struct acpi_handler_info *handler; | 563 | struct acpi_handler_info *handler; |
| 564 | acpi_status status; | 564 | acpi_status status; |
| 565 | u32 flags; | 565 | acpi_native_uint flags; |
| 566 | 566 | ||
| 567 | ACPI_FUNCTION_TRACE("acpi_install_gpe_handler"); | 567 | ACPI_FUNCTION_TRACE("acpi_install_gpe_handler"); |
| 568 | 568 | ||
| @@ -653,7 +653,7 @@ acpi_remove_gpe_handler(acpi_handle gpe_device, | |||
| 653 | struct acpi_gpe_event_info *gpe_event_info; | 653 | struct acpi_gpe_event_info *gpe_event_info; |
| 654 | struct acpi_handler_info *handler; | 654 | struct acpi_handler_info *handler; |
| 655 | acpi_status status; | 655 | acpi_status status; |
| 656 | u32 flags; | 656 | acpi_native_uint flags; |
| 657 | 657 | ||
| 658 | ACPI_FUNCTION_TRACE("acpi_remove_gpe_handler"); | 658 | ACPI_FUNCTION_TRACE("acpi_remove_gpe_handler"); |
| 659 | 659 | ||
