Module Name: src
Committed By: jmcneill
Date: Mon Dec 9 22:13:14 UTC 2024
Modified Files:
src/sys/dev/acpi: qcomiic.c
Log Message:
qcomiic: Register GSB address space handler.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/qcomiic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/qcomiic.c
diff -u src/sys/dev/acpi/qcomiic.c:1.1 src/sys/dev/acpi/qcomiic.c:1.2
--- src/sys/dev/acpi/qcomiic.c:1.1 Sun Dec 8 20:49:14 2024
+++ src/sys/dev/acpi/qcomiic.c Mon Dec 9 22:13:14 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: qcomiic.c,v 1.1 2024/12/08 20:49:14 jmcneill Exp $ */
+/* $NetBSD: qcomiic.c,v 1.2 2024/12/09 22:13:14 jmcneill Exp $ */
/* $OpenBSD: qciic.c,v 1.7 2024/10/02 21:21:32 kettenis Exp $ */
/*
@@ -130,6 +130,8 @@ qciic_acpi_attach(device_t parent, devic
sc->sc_ic.ic_cookie = sc;
sc->sc_ic.ic_exec = qciic_exec;
+ acpi_i2c_register(aa->aa_node, self, &sc->sc_ic);
+
/*
* Defer the attachment of I2C bus until all ACPI devices have been
* enumerated, as other devices may provide resources for devices