From 05095aef07b4cc5d7f08630697b2d36c50baedd1 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 25 Aug 2008 23:54:50 +0000 Subject: [PATCH] mainboard_vendor and mainboard_name are constant. Follow that convention everywhere. This fixes a bug triggered by combined compilation. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://coreboot.org/repository/coreboot-v3@822 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/coreboot_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/coreboot_table.c b/arch/x86/coreboot_table.c index b707d2fe76..536767b153 100644 --- a/arch/x86/coreboot_table.c +++ b/arch/x86/coreboot_table.c @@ -142,7 +142,7 @@ struct lb_mainboard *lb_mainboard(struct lb_header *header) { struct lb_record *rec; struct lb_mainboard *mainboard; - extern char *mainboard_vendor, *mainboard_name; + extern const char *mainboard_vendor, *mainboard_name; rec = lb_new_record(header); mainboard = (struct lb_mainboard *)rec; mainboard->tag = LB_TAG_MAINBOARD;