summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-12-08 03:43:44 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-12-09 06:13:47 +0100
commitb3b79afd551ce513e98b8719294bc356ceb4f781 (patch)
tree97a4ecbbc191296551041bc17f2007012bae7b8d /src/mainboard/amd
parent48a243b16ed3fd2228e1c152f68ba2a6114fff85 (diff)
mainboard/{iwill,amd/serenget_*}: Fix ptr discards const qualifier
Change-Id: I22e55eb2b7fe06c416e5e4fd322045bc7031ed63 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7693 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/serengeti_cheetah/acpi_tables.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
index 802635c6d8..168793eb82 100644
--- a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
@@ -126,7 +126,7 @@ unsigned long mainboard_write_acpi_tables(unsigned long start, acpi_rsdp_t *rsdp
{
unsigned long current;
acpi_header_t *ssdtx;
- void *p;
+ const void *p;
int i;
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
index cb91132886..51265bcc1a 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
@@ -135,7 +135,7 @@ unsigned long mainboard_write_acpi_tables(unsigned long current,
acpi_rsdp_t *rsdp)
{
acpi_header_t *ssdtx;
- void *p;
+ const void *p;
int i;