diff options
| author | Samuel Holland <[email protected]> | 2024-11-11 14:02:51 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-11-28 17:42:05 +0530 |
| commit | 5fa510c5f69f42d3b700e86c0db9e5bcebd3921c (patch) | |
| tree | 62161f941689792160c20fb4b113062f699fc36b /include | |
| parent | 333133edaa8bfe0bf467b58844b569608b84522f (diff) | |
lib: utils/ipi: Use fdt_driver for initialization
The ipi driver subsystem does not need any extra data, so it can use
`struct fdt_driver` directly. The generic fdt_ipi_init() performs a
best-effort initialization of all matching DT nodes.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi_utils/ipi/fdt_ipi.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/sbi_utils/ipi/fdt_ipi.h b/include/sbi_utils/ipi/fdt_ipi.h index 161f7a2e..9b014470 100644 --- a/include/sbi_utils/ipi/fdt_ipi.h +++ b/include/sbi_utils/ipi/fdt_ipi.h @@ -11,14 +11,10 @@ #define __FDT_IPI_H__ #include <sbi/sbi_types.h> +#include <sbi_utils/fdt/fdt_driver.h> #ifdef CONFIG_FDT_IPI -struct fdt_ipi { - const struct fdt_match *match_table; - int (*cold_init)(const void *fdt, int nodeoff, const struct fdt_match *match); -}; - int fdt_ipi_init(void); #else |
