[patch 138/198] pnpbios: eliminate bad section references

From: akpm
Date: Tue Apr 12 2005 - 06:24:08 EST



From: maximilian attems <janitor@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

25-akpm/drivers/pnp/pnpbios/core.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/pnp/pnpbios/core.c~pnpbios-eliminate-bad-section-references drivers/pnp/pnpbios/core.c
--- 25/drivers/pnp/pnpbios/core.c~pnpbios-eliminate-bad-section-references 2005-04-12 03:21:36.702557264 -0700
+++ 25-akpm/drivers/pnp/pnpbios/core.c 2005-04-12 03:21:36.705556808 -0700
@@ -512,7 +512,7 @@ static int __init exploding_pnp_bios(str
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",
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/