2013-04-30 09:40:24

by Jan-Simon Möller

[permalink] [raw]
Subject: [PATCH] Fix section to __init. Align with usage in acpixf.h . Fixes warning during compilation with clang.

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

Signed-off-by: Jan-Simon Möller <[email protected]>
---
include/acpi/acpiosxf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h
index 5b3d2bd..64b8c76 100644
--- a/include/acpi/acpiosxf.h
+++ b/include/acpi/acpiosxf.h
@@ -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);

--
1.8.1.4


2013-05-02 21:07:47

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] Fix section to __init. Align with usage in acpixf.h . Fixes warning during compilation with clang.

On Tuesday, April 30, 2013 11:39:04 AM [email protected] wrote:
> From: Jan-Simon Möller <[email protected]>
>
> Signed-off-by: Jan-Simon Möller <[email protected]>

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

Thanks,
Rafael


> ---
> include/acpi/acpiosxf.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h
> index 5b3d2bd..64b8c76 100644
> --- a/include/acpi/acpiosxf.h
> +++ b/include/acpi/acpiosxf.h
> @@ -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);
>
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.