[coreboot] r981 - coreboot-v3/southbridge/amd/cs5536

svn at coreboot.org svn at coreboot.org
Wed Nov 5 22:50:25 CET 2008


Author: myles
Date: 2008-11-05 22:50:25 +0100 (Wed, 05 Nov 2008)
New Revision: 981

Modified:
   coreboot-v3/southbridge/amd/cs5536/cs5536.c
Log:
This patch removes a warning by making the struct pointer const.  

Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Myles Watson <mylesgw at gmail.com>


Modified: coreboot-v3/southbridge/amd/cs5536/cs5536.c
===================================================================
--- coreboot-v3/southbridge/amd/cs5536/cs5536.c	2008-11-04 21:32:59 UTC (rev 980)
+++ coreboot-v3/southbridge/amd/cs5536/cs5536.c	2008-11-05 21:50:25 UTC (rev 981)
@@ -563,7 +563,7 @@
 	if (!IsS3Resume())
 #endif
 	{
-		struct acpi_init *aci = acpi_init_table;
+		const struct acpi_init *aci = acpi_init_table;
 		for (; aci->ioreg; aci++) {
 			outl(aci->regdata, aci->ioreg);
 			inl(aci->ioreg);





More information about the coreboot mailing list