From c4f1a77cd238b106e84d15a4b62e1ffe169e6200 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 5 Jun 2010 10:03:08 +0000 Subject: Fix two warnings: 108 src/arch/i386/include/arch/acpi.h:402:5: warning: "CONFIG_HAVE_ACPI_SLIC" is not defined 1 src/mainboard/getac/p470/mainboard.c:83: warning: assignment discards qualifiers from pointer target type Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5614 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/getac/p470/Kconfig | 6 +----- src/mainboard/getac/p470/hda_verb.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/mainboard/getac/p470') diff --git a/src/mainboard/getac/p470/Kconfig b/src/mainboard/getac/p470/Kconfig index 08030b7532..1c94c263ab 100644 --- a/src/mainboard/getac/p470/Kconfig +++ b/src/mainboard/getac/p470/Kconfig @@ -33,6 +33,7 @@ config BOARD_GETAC_P470 select GENERATE_MP_TABLE select HAVE_HARD_RESET select HAVE_ACPI_RESUME + select HAVE_ACPI_SLIC select HAVE_MAINBOARD_RESOURCES select MMCONF_SUPPORT select USE_PRINTK_IN_CAR @@ -89,8 +90,3 @@ config FALLBACK_VGA_BIOS_FILE default "getac-pci8086,27a2.rom" depends on BOARD_GETAC_P470 -config HAVE_ACPI_SLIC - bool - default y - depends on BOARD_GETAC_P470 - diff --git a/src/mainboard/getac/p470/hda_verb.h b/src/mainboard/getac/p470/hda_verb.h index ab9c55772c..305e05fc06 100644 --- a/src/mainboard/getac/p470/hda_verb.h +++ b/src/mainboard/getac/p470/hda_verb.h @@ -95,6 +95,6 @@ static const u32 mainboard_cim_verb_data[] = { 0x01F71F41, }; -extern u32 * cim_verb_data; +extern const u32 * cim_verb_data; extern u32 cim_verb_data_size; -- cgit v1.2.3