From 3fe6b7002bf8da7ecd91c2ab4e8bfdec4e80e02f Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Fri, 9 Oct 2009 20:13:43 +0000 Subject: Add const to get rid of some warnings when passing quoted strings. Remove an unused extern declaration. Signed-off-by: Myles Watson Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/amdk8_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdk8/amdk8_acpi.c b/src/northbridge/amd/amdk8/amdk8_acpi.c index 46b17db161..e7c9b5c0fc 100644 --- a/src/northbridge/amd/amdk8/amdk8_acpi.c +++ b/src/northbridge/amd/amdk8/amdk8_acpi.c @@ -248,7 +248,7 @@ static int k8acpi_write_HT(void) { return len; } -static int k8acpi_write_pci_data(int dlen, char *name, int offset) { +static int k8acpi_write_pci_data(int dlen, const char *name, int offset) { device_t dev; uint32_t dword; int len, lenp, i; -- cgit v1.2.3