summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorArend van Spriel <aspriel@gmail.com>2018-02-09 10:13:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-15 18:21:27 +0100
commit8ddfb47294c0f45a476a92ecf1e56cb5990c5468 (patch)
tree3ffc22512ec1e32efffd4b62013db48bcb18ae64 /include/linux/device.h
parent82d1f1178a8578599fb52e697ee8ce8b68f1efd0 (diff)
drivers: base: add description for .coredump() callback
Commit 3c47d19ff4dc ("drivers: base: add coredump driver ops") added a new callback in struct device_driver, but not a kerneldoc description so here it is. Fixes: 3c47d19ff4dc ("drivers: base: add coredump driver ops") Signed-off-by: Arend van Spriel <aspriel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index b093405ed525..0b32a42db4ae 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -256,6 +256,7 @@ enum probe_type {
* automatically.
* @pm: Power management operations of the device which matched
* this driver.
+ * @coredump: Called through sysfs to initiate a device coredump.
* @p: Driver core's private data, no one other than the driver
* core can touch this.
*