The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=839fb85336a01848c2e3e6a833fe4604b6f452f5

commit 839fb85336a01848c2e3e6a833fe4604b6f452f5
Author:     Elliott Mitchell <ehem+free...@m5p.com>
AuthorDate: 2024-10-03 00:47:59 +0000
Commit:     Warner Losh <i...@freebsd.org>
CommitDate: 2024-12-06 18:56:32 +0000

    intr/x86: cleanup io_apic device method tables
    
    Replace the { 0, 0 } construct with the preferred DEVMETHOD_END.  Add
    a space after to indicate it is separate from the section above.
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1457
---
 sys/x86/x86/io_apic.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys/x86/x86/io_apic.c b/sys/x86/x86/io_apic.c
index 525547f9482a..36c7cba77a35 100644
--- a/sys/x86/x86/io_apic.c
+++ b/sys/x86/x86/io_apic.c
@@ -1052,7 +1052,8 @@ static device_method_t ioapic_pci_methods[] = {
        /* Device interface */
        DEVMETHOD(device_probe,         ioapic_pci_probe),
        DEVMETHOD(device_attach,        ioapic_pci_attach),
-       { 0, 0 }
+
+       DEVMETHOD_END
 };
 
 DEFINE_CLASS_0(ioapic, ioapic_pci_driver, ioapic_pci_methods, 0);
@@ -1158,7 +1159,8 @@ static device_method_t apic_methods[] = {
        DEVMETHOD(device_identify,      apic_identify),
        DEVMETHOD(device_probe,         apic_probe),
        DEVMETHOD(device_attach,        apic_attach),
-       { 0, 0 }
+
+       DEVMETHOD_END
 };
 
 DEFINE_CLASS_0(apic, apic_driver, apic_methods, 0);

Reply via email to