summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <janitor@sternwelten.at>2005-04-16 15:25:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:25:51 -0700
commitffbe5523a8e7f808681007aaea282da9a316a699 (patch)
treedea13ca6ec2a86f0f2350a58a8eb8d857d7137a8
parente1ba0dab261c1941fdf0db28868eaf459aaea089 (diff)
downloadlinux-stable-ffbe5523a8e7f808681007aaea282da9a316a699.tar.gz
linux-stable-ffbe5523a8e7f808681007aaea282da9a316a699.tar.bz2
linux-stable-ffbe5523a8e7f808681007aaea282da9a316a699.zip
[PATCH] pnpbios: eliminate bad section references
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>
-rw-r--r--drivers/pnp/pnpbios/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c
index 0f6330b3af12..e939c93a931c 100644
--- a/drivers/pnp/pnpbios/core.c
+++ b/drivers/pnp/pnpbios/core.c
@@ -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",