aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2025-10-11 09:23:43 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2025-10-21 07:49:39 +0000
commit8ea366f40084010c14fe40b3aebb42b459b195cc (patch)
tree40c15e86d6f3f8d6e109f5429ab65bce2567d16e
parent0ae4998423e0d513fb88e404dfb1c2a285d11309 (diff)
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
-rw-r--r--sys/compat/linuxkpi/common/include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
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 {