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 <[email protected]>

--- 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;


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

--- 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;
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to