https://git.reactos.org/?p=reactos.git;a=commitdiff;h=913235952c165c916cfd5f5e45e6fae8243d0ec2

commit 913235952c165c916cfd5f5e45e6fae8243d0ec2
Author:     Hervé Poussineau <hpous...@reactos.org>
AuthorDate: Thu Feb 1 10:02:36 2024 +0100
Commit:     Hervé Poussineau <hpous...@reactos.org>
CommitDate: Thu Feb 1 10:08:58 2024 +0100

    [ACPI] Return success even if AcpiInterfaceNotificationsRegister is not 
implemented
    
    Drivers calling this function still won't be notified in case of event,
    but they will at least succeed their initialization.
    
    CORE-18309
---
 drivers/bus/acpi/interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/acpi/interface.c b/drivers/bus/acpi/interface.c
index eede95d1943..817f56095b1 100644
--- a/drivers/bus/acpi/interface.c
+++ b/drivers/bus/acpi/interface.c
@@ -79,7 +79,7 @@ AcpiInterfaceNotificationsRegister(PDEVICE_OBJECT Context,
 {
   UNIMPLEMENTED;
 
-  return STATUS_NOT_IMPLEMENTED;
+  return STATUS_SUCCESS;
 }
 
 VOID

Reply via email to