diff options
author | Szuying Chen <Chloe_Chen@asmedia.com.tw> | 2022-09-02 12:40:09 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2022-09-07 09:06:50 +0300 |
commit | 5424e1bf16f96bd681c780f5fd12e33588c7ade3 (patch) | |
tree | 04f672c3c52001e3fb013d19335d4a7bc2ed4c09 /drivers/thunderbolt/tb.h | |
parent | 5172eb9a16437af35f86ab66c8e6b55cc9a9cf78 (diff) | |
download | linux-5424e1bf16f96bd681c780f5fd12e33588c7ade3.tar.xz |
thunderbolt: Extend NVM version fields to 32-bits
In order to support non-Intel NVM image formats extend the NVM major and
minor version to 32-bits to better accommondate different versioning
schemes.
No functional impact.
Signed-off-by: Szuying Chen <Chloe_Chen@asmedia.com.tw>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/tb.h')
-rw-r--r-- | drivers/thunderbolt/tb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h index 87aefac03d8a..f8fbab1b49ec 100644 --- a/drivers/thunderbolt/tb.h +++ b/drivers/thunderbolt/tb.h @@ -48,8 +48,8 @@ */ struct tb_nvm { struct device *dev; - u8 major; - u8 minor; + u32 major; + u32 minor; int id; struct nvmem_device *active; struct nvmem_device *non_active; |