You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
docs: Add kernel-doc comments to VME driver API
Add kernel-doc comments to the VME driver API and structures. This documentation will be integrated into the RST documentation in a later patch. Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5cd5e6ad0e
commit
b5bc980a49
+438
-31
File diff suppressed because it is too large
Load Diff
+11
-1
@@ -92,7 +92,7 @@ extern struct bus_type vme_bus_type;
|
||||
#define VME_SLOT_ALL -2
|
||||
|
||||
/**
|
||||
* Structure representing a VME device
|
||||
* struct vme_dev - Structure representing a VME device
|
||||
* @num: The device number
|
||||
* @bridge: Pointer to the bridge device this device is on
|
||||
* @dev: Internal device structure
|
||||
@@ -107,6 +107,16 @@ struct vme_dev {
|
||||
struct list_head bridge_list;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct vme_driver - Structure representing a VME driver
|
||||
* @name: Driver name, should be unique among VME drivers and usually the same
|
||||
* as the module name.
|
||||
* @match: Callback used to determine whether probe should be run.
|
||||
* @probe: Callback for device binding, called when new device is detected.
|
||||
* @remove: Callback, called on device removal.
|
||||
* @driver: Underlying generic device driver structure.
|
||||
* @devices: List of VME devices (struct vme_dev) associated with this driver.
|
||||
*/
|
||||
struct vme_driver {
|
||||
const char *name;
|
||||
int (*match)(struct vme_dev *);
|
||||
|
||||
Reference in New Issue
Block a user