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
This commit is contained in:
Myles Watson
2009-10-09 20:13:43 +00:00
parent 42584096c3
commit 3fe6b7002b
21 changed files with 44 additions and 48 deletions

View File

@ -123,7 +123,7 @@ void update_ssdtx(void *ssdtx, int i)
}
unsigned long acpi_fill_ssdt_generator(unsigned long current, char *oem_table_id) {
unsigned long acpi_fill_ssdt_generator(unsigned long current, const char *oem_table_id) {
k8acpi_write_vars();
amd_model_fxx_generate_powernow(pm_base + 8, 6, 1);
return (unsigned long) (acpigen_get_current());