Agree.
I sent last 2 duplicated mails before I saw your mail.
Zheng
-----Original Message----- From: Carl-Daniel Hailfinger [mailto:c-d.hailfinger.devel.2006@gmx.net] Sent: Tuesday, December 23, 2008 10:50 AM To: Bao, Zheng Cc: coreboot@coreboot.org Subject: Re: [coreboot] [RFC] Error out on implicit declarations
Hi Zheng,
I have found a shorter way to fix the power_limit_encoding warnings. What do you think?
Regards, Carl-Daniel
Remove a unneccessary typedef from acpi_tables.c in the AMD Pistachio and DBM690T targets.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
--- LinuxBIOSv2-asus_m2a-vm/src/mainboard/amd/pistachio/acpi_tables.c (Revision 3837) +++ LinuxBIOSv2-asus_m2a-vm/src/mainboard/amd/pistachio/acpi_tables.c (Arbeitskopie) @@ -133,7 +133,7 @@ u32 *v; struct cpuid_result cpuid1;
- typedef struct power_limit_encoding { + struct power_limit_encoding { u8 socket_type; u8 cmp_cap; u8 pwr_lmt; --- LinuxBIOSv2-asus_m2a-vm/src/mainboard/amd/dbm690t/acpi_tables.c (Revision 3837) +++ LinuxBIOSv2-asus_m2a-vm/src/mainboard/amd/dbm690t/acpi_tables.c (Arbeitskopie) @@ -133,7 +133,7 @@ u32 *v; struct cpuid_result cpuid1;
- typedef struct power_limit_encoding { + struct power_limit_encoding { u8 socket_type; u8 cmp_cap; u8 pwr_lmt;