Skip to content

Commit 1daa0c4

Browse files
committed
of/fdt: convert initial_boot_params to opaque pointer
Now that all accesses to FDT header data has been converted to accessor helpers, initial_boot_params can become an opaque pointer. Signed-off-by: Rob Herring <[email protected]> Tested-by: Michal Simek <[email protected]> Tested-by: Grant Likely <[email protected]> Tested-by: Stephen Chivers <[email protected]>
1 parent 1bac186 commit 1daa0c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/of/fdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ EXPORT_SYMBOL_GPL(of_fdt_unflatten_tree);
372372
int __initdata dt_root_addr_cells;
373373
int __initdata dt_root_size_cells;
374374

375-
struct boot_param_header *initial_boot_params;
375+
void *initial_boot_params;
376376

377377
#ifdef CONFIG_OF_EARLY_FLATTREE
378378

include/linux/of_fdt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ extern void of_fdt_unflatten_tree(unsigned long *blob,
7878
/* TBD: Temporary export of fdt globals - remove when code fully merged */
7979
extern int __initdata dt_root_addr_cells;
8080
extern int __initdata dt_root_size_cells;
81-
extern struct boot_param_header *initial_boot_params;
81+
extern void *initial_boot_params;
8282

8383
extern char __dtb_start[];
8484
extern char __dtb_end[];

0 commit comments

Comments
 (0)