aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/global_data.h2
-rw-r--r--include/sandbox_host.h19
2 files changed, 9 insertions, 12 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 02ad8ca..8882912 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -651,7 +651,7 @@ enum gd_flags {
*/
GD_FLG_FDT_CHANGED = 0x100000,
/**
- * GD_FLG_CYCLIC_RUNNING: cyclic_run is in progress
+ * @GD_FLG_CYCLIC_RUNNING: cyclic_run is in progress
*/
GD_FLG_CYCLIC_RUNNING = 0x200000,
};
diff --git a/include/sandbox_host.h b/include/sandbox_host.h
index 2e37ede..ebd7d99 100644
--- a/include/sandbox_host.h
+++ b/include/sandbox_host.h
@@ -23,26 +23,23 @@ struct host_sb_plat {
/**
* struct host_ops - operations supported by UCLASS_HOST
- *
- * @attach_file: Attach a new file to a device
- * @detach_file: Detach a file from a device
*/
struct host_ops {
- /*
- * attach_file() - Attach a new file to the device
+ /**
+ * @attach_file: - Attach a new file to the device
*
- * @dev: Device to update
- * @filename: Name of the file, e.g. "/path/to/disk.img"
- * Returns: 0 if OK, -EEXIST if a file is already attached, other -ve on
+ * @attach_file.dev: Device to update
+ * @attach_file.filename: Name of the file, e.g. "/path/to/disk.img"
+ * @attach_file.Returns: 0 if OK, -EEXIST if a file is already attached, other -ve on
* other error
*/
int (*attach_file)(struct udevice *dev, const char *filename);
/**
- * detach_file() - Detach a file from the device
+ * @detach_file: - Detach a file from the device
*
- * @dev: Device to detach from
- * Returns: 0 if OK, -ENOENT if no file is attached, other -ve on other
+ * @detach_file.dev: Device to detach from
+ * @detach_file.Returns: 0 if OK, -ENOENT if no file is attached, other -ve on other
* error
*/
int (*detach_file)(struct udevice *dev);