]> err.no Git - linux-2.6/commitdiff
kbuild: remove hardcoded apic_es7000 from modpost
authorSam Ravnborg <sam@ravnborg.org>
Sat, 2 Jun 2007 22:05:10 +0000 (00:05 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 16 Jul 2007 21:24:51 +0000 (23:24 +0200)
Replace the hardcoded variable name apic_es7000 in modpost
with a __initdata_refok marker.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
arch/i386/mach-generic/es7000.c
scripts/mod/modpost.c

index b47f951c0ec28411512b926d00d7eac213bc0897..4742626f08c4c7abb5f815248c541d03362b602f 100644 (file)
@@ -66,4 +66,4 @@ static int __init acpi_madt_oem_check(char *oem_id, char *oem_table_id)
 }
 #endif
 
-struct genapic apic_es7000 = APIC_INIT("es7000", probe_es7000);
+struct genapic __initdata_refok apic_es7000 = APIC_INIT("es7000", probe_es7000);
index 7f5ff7e0a0f3f572019f76f7053da30088ae42ca..1921c43f3a3efb1c64f910199b97076c6ba8f82c 100644 (file)
@@ -647,7 +647,6 @@ static int secref_whitelist(const char *modname, const char *tosec,
                "_probe",
                "_probe_one",
                "_console",
-               "apic_es7000",
                NULL
        };