diff options
Diffstat (limited to 'drivers/acpi/acpica/hwregs.c')
-rw-r--r-- | drivers/acpi/acpica/hwregs.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/hwregs.c b/drivers/acpi/acpica/hwregs.c index f4e57503576b..083d6551f0e2 100644 --- a/drivers/acpi/acpica/hwregs.c +++ b/drivers/acpi/acpica/hwregs.c | |||
@@ -6,7 +6,7 @@ | |||
6 | ******************************************************************************/ | 6 | ******************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2012, Intel Corp. | 9 | * Copyright (C) 2000 - 2013, Intel Corp. |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
@@ -44,7 +44,6 @@ | |||
44 | 44 | ||
45 | #include <acpi/acpi.h> | 45 | #include <acpi/acpi.h> |
46 | #include "accommon.h" | 46 | #include "accommon.h" |
47 | #include "acnamesp.h" | ||
48 | #include "acevents.h" | 47 | #include "acevents.h" |
49 | 48 | ||
50 | #define _COMPONENT ACPI_HARDWARE | 49 | #define _COMPONENT ACPI_HARDWARE |
@@ -364,8 +363,7 @@ acpi_status acpi_hw_write_pm1_control(u32 pm1a_control, u32 pm1b_control) | |||
364 | * DESCRIPTION: Read from the specified ACPI register | 363 | * DESCRIPTION: Read from the specified ACPI register |
365 | * | 364 | * |
366 | ******************************************************************************/ | 365 | ******************************************************************************/ |
367 | acpi_status | 366 | acpi_status acpi_hw_register_read(u32 register_id, u32 *return_value) |
368 | acpi_hw_register_read(u32 register_id, u32 * return_value) | ||
369 | { | 367 | { |
370 | u32 value = 0; | 368 | u32 value = 0; |
371 | acpi_status status; | 369 | acpi_status status; |
@@ -485,7 +483,7 @@ acpi_status acpi_hw_register_write(u32 register_id, u32 value) | |||
485 | &acpi_gbl_xpm1b_status); | 483 | &acpi_gbl_xpm1b_status); |
486 | break; | 484 | break; |
487 | 485 | ||
488 | case ACPI_REGISTER_PM1_ENABLE: /* PM1 A/B: 16-bit access */ | 486 | case ACPI_REGISTER_PM1_ENABLE: /* PM1 A/B: 16-bit access each */ |
489 | 487 | ||
490 | status = acpi_hw_write_multiple(value, | 488 | status = acpi_hw_write_multiple(value, |
491 | &acpi_gbl_xpm1a_enable, | 489 | &acpi_gbl_xpm1a_enable, |