summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot/acpi.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-09 20:13:43 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-09 20:13:43 +0000
commit3fe6b7002bf8da7ecd91c2ab4e8bfdec4e80e02f (patch)
tree7db10b2b2dadc88350d747b746d899e119afcdb5 /src/arch/i386/boot/acpi.c
parent42584096c30440ecef1c50322f2f39ccbc9e5230 (diff)
Add const to get rid of some warnings when passing quoted strings.
Remove an unused extern declaration. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot/acpi.c')
-rw-r--r--src/arch/i386/boot/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/boot/acpi.c b/src/arch/i386/boot/acpi.c
index baff4f0dd6..03634b4d96 100644
--- a/src/arch/i386/boot/acpi.c
+++ b/src/arch/i386/boot/acpi.c
@@ -224,11 +224,11 @@ void acpi_create_mcfg(acpi_mcfg_t *mcfg)
/* this can be overriden by platform ACPI setup code,
if it calls acpi_create_ssdt_generator */
unsigned long __attribute__((weak)) acpi_fill_ssdt_generator(unsigned long current,
- char *oem_table_id) {
+ const char *oem_table_id) {
return current;
}
-void acpi_create_ssdt_generator(acpi_header_t *ssdt, char *oem_table_id)
+void acpi_create_ssdt_generator(acpi_header_t *ssdt, const char *oem_table_id)
{
unsigned long current=(unsigned long)ssdt+sizeof(acpi_header_t);
memset((void *)ssdt, 0, sizeof(acpi_header_t));