Corrected partition changes in header and wrapper

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: Iafd7de8f08924873da841ee6eca62100a17b2b6c
This commit is contained in:
gabrpham
2024-09-20 16:01:09 -05:00
committed by Maisam Arif
parent 6beec5f3ec
commit 8bc4abc88b
6 changed files with 114 additions and 43 deletions
+7
View File
@@ -190,6 +190,13 @@ except OSError as error:
struct_amdsmi_bdf_t_line = "'struct_amdsmi_bdf_t',"
replace_line(output_file, struct_anon_all_line, struct_amdsmi_bdf_t_line)
struct_anon_all_line = ", 'struct_struct"
replace_line(output_file, struct_anon_all_line, ",")
struct_anon_all_line = "(anonymous at "
struct_amdsmi_bdf_t_line = "'struct_amdsmi_bdf_t',"
replace_line(output_file, struct_anon_all_line, struct_amdsmi_bdf_t_line)
struct_anon_all_line_to_remove = f"amdsmi.h:{line_number}:3)', "
replace_line(output_file, struct_anon_all_line_to_remove, "")