diff --git a/drivers/mailbox/mailbox-xgene-slimpro.c b/drivers/mailbox/mailbox-xgene-slimpro.c index 946ea773ec33..1f87a84e5995 100644 --- a/drivers/mailbox/mailbox-xgene-slimpro.c +++ b/drivers/mailbox/mailbox-xgene-slimpro.c @@ -228,8 +228,8 @@ MODULE_DEVICE_TABLE(of, slimpro_of_match); #ifdef CONFIG_ACPI static const struct acpi_device_id slimpro_acpi_ids[] = { - {"APMC0D01", 0}, - {} + { .id = "APMC0D01" }, + { } }; MODULE_DEVICE_TABLE(acpi, slimpro_acpi_ids); #endif diff --git a/drivers/mailbox/riscv-sbi-mpxy-mbox.c b/drivers/mailbox/riscv-sbi-mpxy-mbox.c index ea69c6b6b4f9..4ebce35a8b6c 100644 --- a/drivers/mailbox/riscv-sbi-mpxy-mbox.c +++ b/drivers/mailbox/riscv-sbi-mpxy-mbox.c @@ -1006,8 +1006,8 @@ static const struct of_device_id mpxy_mbox_of_match[] = { MODULE_DEVICE_TABLE(of, mpxy_mbox_of_match); static const struct acpi_device_id mpxy_mbox_acpi_match[] = { - { "RSCV0005" }, - {} + { .id = "RSCV0005" }, + { } }; MODULE_DEVICE_TABLE(acpi, mpxy_mbox_acpi_match);