Function callback to be used in logging functions to write a persistent durable name to the supplied character buffer. This will be used to add structured key-value data to log messages. Signed-off-by: Tony Asleson <tasleson@xxxxxxxxxx> --- include/linux/device.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/device.h b/include/linux/device.h index 297239a08bb7..dd4ac8db5f57 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -799,6 +799,8 @@ struct device_type { void (*release)(struct device *dev); const struct dev_pm_ops *pm; + + int (*durable_name)(const struct device *dev, char *buff, size_t len); }; /* interface for exporting device attributes */ -- 2.21.0