On 05.11.2008 22:50, [EMAIL PROTECTED] wrote:
> 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.
>   

Did you want to have a const pointer to a struct or a pointer to a const
struct?

> Signed-off-by: Myles Watson <[EMAIL PROTECTED]>
> Acked-by: Myles Watson <[EMAIL PROTECTED]>
>
>
> 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);
>   

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to