diff options
Diffstat (limited to 'drivers/acpi/hardware/hwregs.c')
-rw-r--r-- | drivers/acpi/hardware/hwregs.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/acpi/hardware/hwregs.c b/drivers/acpi/hardware/hwregs.c index 95c4ccb3a378..3d1f41c6bfe9 100644 --- a/drivers/acpi/hardware/hwregs.c +++ b/drivers/acpi/hardware/hwregs.c | |||
@@ -43,8 +43,6 @@ | |||
43 | * POSSIBILITY OF SUCH DAMAGES. | 43 | * POSSIBILITY OF SUCH DAMAGES. |
44 | */ | 44 | */ |
45 | 45 | ||
46 | #include <linux/module.h> | ||
47 | |||
48 | #include <acpi/acpi.h> | 46 | #include <acpi/acpi.h> |
49 | #include <acpi/acnamesp.h> | 47 | #include <acpi/acnamesp.h> |
50 | #include <acpi/acevents.h> | 48 | #include <acpi/acevents.h> |
@@ -220,7 +218,7 @@ acpi_get_sleep_type_data(u8 sleep_state, u8 * sleep_type_a, u8 * sleep_type_b) | |||
220 | return_ACPI_STATUS(status); | 218 | return_ACPI_STATUS(status); |
221 | } | 219 | } |
222 | 220 | ||
223 | EXPORT_SYMBOL(acpi_get_sleep_type_data); | 221 | ACPI_EXPORT_SYMBOL(acpi_get_sleep_type_data) |
224 | 222 | ||
225 | /******************************************************************************* | 223 | /******************************************************************************* |
226 | * | 224 | * |
@@ -233,7 +231,6 @@ EXPORT_SYMBOL(acpi_get_sleep_type_data); | |||
233 | * DESCRIPTION: Map register_id into a register bitmask. | 231 | * DESCRIPTION: Map register_id into a register bitmask. |
234 | * | 232 | * |
235 | ******************************************************************************/ | 233 | ******************************************************************************/ |
236 | |||
237 | struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id) | 234 | struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id) |
238 | { | 235 | { |
239 | ACPI_FUNCTION_ENTRY(); | 236 | ACPI_FUNCTION_ENTRY(); |
@@ -312,7 +309,7 @@ acpi_status acpi_get_register(u32 register_id, u32 * return_value, u32 flags) | |||
312 | return_ACPI_STATUS(status); | 309 | return_ACPI_STATUS(status); |
313 | } | 310 | } |
314 | 311 | ||
315 | EXPORT_SYMBOL(acpi_get_register); | 312 | ACPI_EXPORT_SYMBOL(acpi_get_register) |
316 | 313 | ||
317 | /******************************************************************************* | 314 | /******************************************************************************* |
318 | * | 315 | * |
@@ -328,7 +325,6 @@ EXPORT_SYMBOL(acpi_get_register); | |||
328 | * DESCRIPTION: ACPI Bit Register write function. | 325 | * DESCRIPTION: ACPI Bit Register write function. |
329 | * | 326 | * |
330 | ******************************************************************************/ | 327 | ******************************************************************************/ |
331 | |||
332 | acpi_status acpi_set_register(u32 register_id, u32 value, u32 flags) | 328 | acpi_status acpi_set_register(u32 register_id, u32 value, u32 flags) |
333 | { | 329 | { |
334 | u32 register_value = 0; | 330 | u32 register_value = 0; |
@@ -475,7 +471,7 @@ acpi_status acpi_set_register(u32 register_id, u32 value, u32 flags) | |||
475 | return_ACPI_STATUS(status); | 471 | return_ACPI_STATUS(status); |
476 | } | 472 | } |
477 | 473 | ||
478 | EXPORT_SYMBOL(acpi_set_register); | 474 | ACPI_EXPORT_SYMBOL(acpi_set_register) |
479 | 475 | ||
480 | /****************************************************************************** | 476 | /****************************************************************************** |
481 | * | 477 | * |
@@ -491,7 +487,6 @@ EXPORT_SYMBOL(acpi_set_register); | |||
491 | * given offset. | 487 | * given offset. |
492 | * | 488 | * |
493 | ******************************************************************************/ | 489 | ******************************************************************************/ |
494 | |||
495 | acpi_status | 490 | acpi_status |
496 | acpi_hw_register_read(u8 use_lock, u32 register_id, u32 * return_value) | 491 | acpi_hw_register_read(u8 use_lock, u32 register_id, u32 * return_value) |
497 | { | 492 | { |