From fd2695acd70c9a1e5585a9b159bbd64d0dbf4e62 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 29 Jun 2016 17:26:33 -0500 Subject: [PATCH] UPSTREAM: soc/intel/apollolake: typedef global_nvs_t for consistency Every other platform has global_nvs_t as a typedef. For some reason apollolake didn't bother following current conventions. Fix this omission to allow for better code sharing and consistency. Change-Id: Id596eed517737759a64ce803c89ea2a05cbe2cce Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/15502 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) Reviewed-on: https://chromium-review.googlesource.com/357995 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh --- src/soc/intel/apollolake/include/soc/nvs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/apollolake/include/soc/nvs.h b/src/soc/intel/apollolake/include/soc/nvs.h index 3e4f432a78..bff949e22c 100644 --- a/src/soc/intel/apollolake/include/soc/nvs.h +++ b/src/soc/intel/apollolake/include/soc/nvs.h @@ -26,7 +26,7 @@ #include -struct global_nvs_t { +typedef struct global_nvs_t { /* Miscellaneous */ uint8_t pcnt; /* 0x00 - Processor Count */ uint8_t ppcm; /* 0x01 - Max PPC State */ @@ -42,6 +42,6 @@ struct global_nvs_t { /* ChromeOS specific (0x100 - 0xfff) */ chromeos_acpi_t chromeos; -} __attribute__((packed)); +} __attribute__((packed)) global_nvs_t; #endif /* _SOC_APOLLOLAKE_NVS_H_ */