git: 8ea366f40084 - main - LinuxKPI: device_driver add (*coredump)()

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Tue, 21 Oct 2025 07:53:10 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=8ea366f40084010c14fe40b3aebb42b459b195cc

commit 8ea366f40084010c14fe40b3aebb42b459b195cc
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-10-11 09:23:43 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-10-21 07:49:39 +0000

    LinuxKPI: device_driver add (*coredump)()
    
    Needed by multiple wireless driver for the v6.17 update (likely earlier
    versions already).
    
    MFC after:      3 days
    Reviewed by:    dumbbell
    Differential Revision: https://reviews.freebsd.org/D53206
---
 sys/compat/linuxkpi/common/include/linux/device.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h
index 7dd6340746d2..c291133e2e0b 100644
--- a/sys/compat/linuxkpi/common/include/linux/device.h
+++ b/sys/compat/linuxkpi/common/include/linux/device.h
@@ -92,6 +92,7 @@ struct device_driver {
 	const struct dev_pm_ops *pm;
 
 	void (*shutdown) (struct device *);
+	void (*coredump) (struct device *);
 };
 
 struct device_type {