From 5fa510c5f69f42d3b700e86c0db9e5bcebd3921c Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 11 Nov 2024 14:02:51 -0800 Subject: 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 Reviewed-by: Anup Patel --- include/sbi_utils/ipi/fdt_ipi.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include') 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 +#include #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 -- cgit v1.3.1