2008-02-13 21:36:47

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make acpi_find_dsdt_initrd() static

acpi_find_dsdt_initrd() can become static.

Signed-off-by: Adrian Bunk <[email protected]>

---
98cd5a55aff78aaacc3f8615164e2247f3bbed70 diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 34b3386..0c37c65 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -325,7 +325,7 @@ acpi_os_predefined_override(const struct acpi_predefined_names *init_val,
}

#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
-struct acpi_table_header *acpi_find_dsdt_initrd(void)
+static struct acpi_table_header *acpi_find_dsdt_initrd(void)
{
struct file *firmware_file;
mm_segment_t oldfs;