[PATCH] pnpbios: eliminate bad section references
authormaximilian attems <janitor@sternwelten.at>
Sat, 16 Apr 2005 22:25:51 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:51 +0000 (15:25 -0700)
one of the last buildcheck errors on i386, thanks Randy again for double
checking.

Fix pnpbios section references:
make dmi_system_id pnpbios_dmi_table __initdata

Error: ./drivers/pnp/pnpbios/core.o .data refers to 00000100 R_386_32
.init.text
Error: ./drivers/pnp/pnpbios/core.o .data refers to 0000012c R_386_32
.init.text

Signed-off-by: maximilian attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pnp/pnpbios/core.c

index 0f6330b..e939c93 100644 (file)
@@ -512,7 +512,7 @@ static int __init exploding_pnp_bios(struct dmi_system_id *d)
        return 0;
 }
 
-static struct dmi_system_id pnpbios_dmi_table[] = {
+static struct dmi_system_id pnpbios_dmi_table[] __initdata = {
        {       /* PnPBIOS GPF on boot */
                .callback = exploding_pnp_bios,
                .ident = "Higraded P14H",