summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-06-05 10:03:08 +0000
committerStefan Reinauer <stepan@openbios.org>2010-06-05 10:03:08 +0000
commitc4f1a77cd238b106e84d15a4b62e1ffe169e6200 (patch)
treec1b8e6abb58e687ef7ca60447aa9b5d20cbc68d6 /src/southbridge
parent1946284594199accc9fb5733c1fad32bd6e6745e (diff)
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 <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5614 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82801gx/i82801gx_azalia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/intel/i82801gx/i82801gx_azalia.c b/src/southbridge/intel/i82801gx/i82801gx_azalia.c
index 5899ad6c0e..a7769dce23 100644
--- a/src/southbridge/intel/i82801gx/i82801gx_azalia.c
+++ b/src/southbridge/intel/i82801gx/i82801gx_azalia.c
@@ -90,10 +90,10 @@ no_codec:
return 0;
}
-u32 * cim_verb_data = NULL;
+const u32 * cim_verb_data = NULL;
u32 cim_verb_data_size = 0;
-static u32 find_verb(struct device *dev, u32 viddid, u32 ** verb)
+static u32 find_verb(struct device *dev, u32 viddid, const u32 ** verb)
{
int idx=0;
@@ -166,7 +166,7 @@ static int wait_for_valid(u32 base)
static void codec_init(struct device *dev, u32 base, int addr)
{
u32 reg32;
- u32 *verb;
+ const u32 *verb;
u32 verb_size;
int i;