From b3b79afd551ce513e98b8719294bc356ceb4f781 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 8 Dec 2014 03:43:44 +1100 Subject: [PATCH] mainboard/{iwill,amd/serenget_*}: Fix ptr discards const qualifier Change-Id: I22e55eb2b7fe06c416e5e4fd322045bc7031ed63 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/7693 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko --- src/mainboard/amd/serengeti_cheetah/acpi_tables.c | 2 +- src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c | 2 +- src/mainboard/iwill/dk8_htx/acpi_tables.c | 2 +- 3 files changed, 3 insertions(+), 3 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; diff --git a/src/mainboard/iwill/dk8_htx/acpi_tables.c b/src/mainboard/iwill/dk8_htx/acpi_tables.c index 53e79b0ca1..e1c5c8039b 100644 --- a/src/mainboard/iwill/dk8_htx/acpi_tables.c +++ b/src/mainboard/iwill/dk8_htx/acpi_tables.c @@ -133,7 +133,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;