drivers: base: add description for .coredump() callback
authorArend van Spriel <aspriel@gmail.com>
Fri, 9 Feb 2018 09:13:57 +0000 (10:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 17:21:27 +0000 (18:21 +0100)
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>
include/linux/device.h

index b093405ed5256e6a34b55052e500edf32f32b623..0b32a42db4ae656e71529d6c55be7a0b2d416e99 100644 (file)
@@ -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.
  *