Re: [2.6 patch] make acpi_no_initrd_override_setup() static

From: Ãric Piel
Date: Wed Feb 13 2008 - 17:17:00 EST


13/02/08 22:30, Adrian Bunk wrote/a Ãcrit:
> acpi_no_initrd_override_setup() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
Oh, indeed, no one else uses this function.
Acked-by: Eric Piel <eric.piel@xxxxxxxxxxxxxxxx>

>
> ---
> 1778953a9751288a9bee1d4f6a8b4f3d22e37f52 diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
> index 0c37c65..b72a7f1 100644
> --- a/drivers/acpi/osl.c
> +++ b/drivers/acpi/osl.c
> @@ -419,7 +419,7 @@ acpi_os_table_override(struct acpi_table_header * existing_table,
> }
>
> #ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
> -int __init acpi_no_initrd_override_setup(char *s)
> +static int __init acpi_no_initrd_override_setup(char *s)
> {
> acpi_no_initrd_override = 1;
> return 1;

--
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/