diff options
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/device.h')
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/device.h | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h index 2556b0c45e49..c291133e2e0b 100644 --- a/sys/compat/linuxkpi/common/include/linux/device.h +++ b/sys/compat/linuxkpi/common/include/linux/device.h @@ -4,7 +4,7 @@   * Copyright (c) 2010 Panasas, Inc.   * Copyright (c) 2013-2016 Mellanox Technologies, Ltd.   * All rights reserved. - * Copyright (c) 2021-2022 The FreeBSD Foundation + * Copyright (c) 2021-2025 The FreeBSD Foundation   *   * Portions of this software were developed by Björn Zeeb   * under sponsorship from the FreeBSD Foundation. @@ -92,6 +92,7 @@ struct device_driver {  	const struct dev_pm_ops *pm;  	void (*shutdown) (struct device *); +	void (*coredump) (struct device *);  };  struct device_type { @@ -284,7 +285,8 @@ int lkpi_devres_destroy(struct device *, void(*release)(struct device *, void *)  void lkpi_devres_release_free_list(struct device *);  void lkpi_devres_unlink(struct device *, void *);  void lkpi_devm_kmalloc_release(struct device *, void *); -#define	devm_kfree(_d, _p)		lkpi_devm_kmalloc_release(_d, _p) +void lkpi_devm_kfree(struct device *, const void *); +#define	devm_kfree(_d, _p)		lkpi_devm_kfree(_d, _p)  static inline const char *  dev_driver_string(const struct device *dev) | 
