mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
This patch removes a warning by making the struct pointer const.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@981 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
966cb29c69
commit
ccba5f1083
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ void chipsetinit(void)
|
||||||
if (!IsS3Resume())
|
if (!IsS3Resume())
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
struct acpi_init *aci = acpi_init_table;
|
const struct acpi_init *aci = acpi_init_table;
|
||||||
for (; aci->ioreg; aci++) {
|
for (; aci->ioreg; aci++) {
|
||||||
outl(aci->regdata, aci->ioreg);
|
outl(aci->regdata, aci->ioreg);
|
||||||
inl(aci->ioreg);
|
inl(aci->ioreg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue