Skip to contentSkip to conversation

Fix section to __init. Align with usage in acpixf.h . Fixes warning during compilation with clang.

PATCH In review [email protected] 2 participants 2 messages Apr 30, 2013 – May 2, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix section to __init. Align with usage in acpixf.h . Fixes warning during compilation with clang.

From: Jan-Simon Möller <[email protected]>

---
 include/acpi/acpiosxf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/acpi/acpiosxf.h +1 -1
index 5b3d2bd..64b8c76 100644
@@ -77,7 +77,7 @@ struct acpi_signal_fatal_info {
 /*
  * OSL Initialization and shutdown primitives
  */
-acpi_status __initdata acpi_os_initialize(void);
+acpi_status __init acpi_os_initialize(void);
 
 acpi_status acpi_os_terminate(void);
 
Signature · 1 line
1.8.1.4
#1 lore raw
Quoted 3 lines · On Tuesday, April 30, 2013 11:39:04 AM [email protected] wrote:

From: Jan-Simon Möller <[email protected]>

I've queued this up for the v3.10-rc2 push.

Thanks,
Rafael

Quoted 18 lines
---
 include/acpi/acpiosxf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/acpi/acpiosxf.h +1 -1
index 5b3d2bd..64b8c76 100644
@@ -77,7 +77,7 @@ struct acpi_signal_fatal_info {
 /*
  * OSL Initialization and shutdown primitives
  */
-acpi_status __initdata acpi_os_initialize(void);
+acpi_status __init acpi_os_initialize(void);
 
 acpi_status acpi_os_terminate(void);
 
Signature · 6 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html