acpi_no_initrd_override_setup() can become static.
Signed-off-by: Adrian Bunk <[email protected]>
---
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;
13/02/08 22:30, Adrian Bunk wrote/a écrit:
> acpi_no_initrd_override_setup() can become static.
>
> Signed-off-by: Adrian Bunk <[email protected]>
Oh, indeed, no one else uses this function.
Acked-by: Eric Piel <[email protected]>
>
> ---
> 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;