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

From: Rafael J. Wysocki
Date: Thu May 02 2013 - 17:07:50 EST


On Tuesday, April 30, 2013 11:39:04 AM dl9pf@xxxxxx wrote:
> From: Jan-Simon MÃller <dl9pf@xxxxxx>
>
> Signed-off-by: Jan-Simon MÃller <dl9pf@xxxxxx>

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/