diff --git a/kae_driver/plat_hpre_main.c b/kae_driver/plat_hpre_main.c index 9e49a5181c558bb442cba13791c0a6a12813a6b0..888bf22a6f3e399aead4308ab8e762d73e695c6d 100644 --- a/kae_driver/plat_hpre_main.c +++ b/kae_driver/plat_hpre_main.c @@ -83,12 +83,18 @@ static struct of_device_id hisi_hpre_dt_ids[] = { { }, }; +static struct acpi_device_id hisi_hpre_acpi_match[] = { + {"HPRE07", 0}, + { }, +}; + static struct platform_driver hpre_driver = { .probe = hpre_probe, .remove = hpre_remove, .driver = { .name = "hisi_plat_hpre", .of_match_table = hisi_hpre_dt_ids, + .acpi_match_table = hisi_hpre_acpi_match, } }; diff --git a/kae_driver/plat_sec_main.c b/kae_driver/plat_sec_main.c index 00eaead4d6958ded686d0f2dd03e0460199c88ea..d9f1c3bdedf266dd3c796b8d46b658f50994d305 100644 --- a/kae_driver/plat_sec_main.c +++ b/kae_driver/plat_sec_main.c @@ -86,12 +86,18 @@ static struct of_device_id hisi_sec_dt_ids[] = { { /* sentinel */ }, }; +static struct acpi_device_id hisi_sec_acpi_match[] = { + {"SEC07", 0}, + { }, +}; + static struct platform_driver sec_driver = { .probe = sec_probe, .remove = sec_remove, .driver = { .name = "hisi_plat_sec", .of_match_table = hisi_sec_dt_ids, + .acpi_match_table = hisi_sec_acpi_match, } };