aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwregs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/hwregs.c')
-rw-r--r--drivers/acpi/acpica/hwregs.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/hwregs.c b/drivers/acpi/acpica/hwregs.c
index 4ea4eeb51bfd..17a78e5ef175 100644
--- a/drivers/acpi/acpica/hwregs.c
+++ b/drivers/acpi/acpica/hwregs.c
@@ -51,6 +51,7 @@
51#define _COMPONENT ACPI_HARDWARE 51#define _COMPONENT ACPI_HARDWARE
52ACPI_MODULE_NAME("hwregs") 52ACPI_MODULE_NAME("hwregs")
53 53
54#if (!ACPI_REDUCED_HARDWARE)
54/* Local Prototypes */ 55/* Local Prototypes */
55static acpi_status 56static acpi_status
56acpi_hw_read_multiple(u32 *value, 57acpi_hw_read_multiple(u32 *value,
@@ -62,6 +63,8 @@ acpi_hw_write_multiple(u32 value,
62 struct acpi_generic_address *register_a, 63 struct acpi_generic_address *register_a,
63 struct acpi_generic_address *register_b); 64 struct acpi_generic_address *register_b);
64 65
66#endif /* !ACPI_REDUCED_HARDWARE */
67
65/****************************************************************************** 68/******************************************************************************
66 * 69 *
67 * FUNCTION: acpi_hw_validate_register 70 * FUNCTION: acpi_hw_validate_register
@@ -240,6 +243,7 @@ acpi_status acpi_hw_write(u32 value, struct acpi_generic_address *reg)
240 return (status); 243 return (status);
241} 244}
242 245
246#if (!ACPI_REDUCED_HARDWARE)
243/******************************************************************************* 247/*******************************************************************************
244 * 248 *
245 * FUNCTION: acpi_hw_clear_acpi_status 249 * FUNCTION: acpi_hw_clear_acpi_status
@@ -285,7 +289,7 @@ exit:
285 289
286/******************************************************************************* 290/*******************************************************************************
287 * 291 *
288 * FUNCTION: acpi_hw_get_register_bit_mask 292 * FUNCTION: acpi_hw_get_bit_register_info
289 * 293 *
290 * PARAMETERS: register_id - Index of ACPI Register to access 294 * PARAMETERS: register_id - Index of ACPI Register to access
291 * 295 *
@@ -658,3 +662,5 @@ acpi_hw_write_multiple(u32 value,
658 662
659 return (status); 663 return (status);
660} 664}
665
666#endif /* !ACPI_REDUCED_HARDWARE */