forked from Mirrors/opensbi
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 <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
333133edaa
commit
5fa510c5f6
@@ -61,7 +61,7 @@ static const struct fdt_match ipi_mswi_match[] = {
|
||||
{ },
|
||||
};
|
||||
|
||||
struct fdt_ipi fdt_ipi_mswi = {
|
||||
const struct fdt_driver fdt_ipi_mswi = {
|
||||
.match_table = ipi_mswi_match,
|
||||
.cold_init = ipi_mswi_cold_init,
|
||||
.init = ipi_mswi_cold_init,
|
||||
};
|
||||
|
Reference in New Issue
Block a user