git: 885f3adf6f6f - main - powernv/opal: Add missing DEVMETHOD_END to method list

From: Justin Hibbits <jhibbits_at_FreeBSD.org>
Date: Sun, 01 Dec 2024 19:50:04 UTC
The branch main has been updated by jhibbits:

URL: https://cgit.FreeBSD.org/src/commit/?id=885f3adf6f6f824d3073b99300af76fef81021f4

commit 885f3adf6f6f824d3073b99300af76fef81021f4
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2024-12-01 19:49:07 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2024-12-01 19:50:37 +0000

    powernv/opal: Add missing DEVMETHOD_END to method list
    
    Reported by:    ehem_freebsd_m5p.com
    MFC after:      1 week
---
 sys/powerpc/powernv/opal_sensor.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/powerpc/powernv/opal_sensor.c b/sys/powerpc/powernv/opal_sensor.c
index db8045741510..a2f3c0a80a5b 100644
--- a/sys/powerpc/powernv/opal_sensor.c
+++ b/sys/powerpc/powernv/opal_sensor.c
@@ -243,7 +243,9 @@ opal_sensor_attach(device_t dev)
 
 static device_method_t opal_sensor_methods[] = {
 	DEVMETHOD(device_probe,		opal_sensor_probe),
-	DEVMETHOD(device_attach,		opal_sensor_attach),
+	DEVMETHOD(device_attach,	opal_sensor_attach),
+
+	DEVMETHOD_END
 };
 
 static driver_t opal_sensor_driver = {