diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/dm/device.h | 2 | ||||
| -rw-r--r-- | include/efi_loader.h | 18 |
2 files changed, 16 insertions, 4 deletions
diff --git a/include/dm/device.h b/include/dm/device.h index b86bf90609b..e54cb6bca41 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -367,7 +367,7 @@ struct udevice_id { * @ops: Driver-specific operations. This is typically a list of function * pointers defined by the driver, to implement driver functions required by * the uclass. - * @flags: driver flags - see `DM_FLAGS_...` + * @flags: driver flags - see `DM_FLAG_...` * @acpi_ops: Advanced Configuration and Power Interface (ACPI) operations, * allowing the device to add things to the ACPI tables passed to Linux */ diff --git a/include/efi_loader.h b/include/efi_loader.h index 3a64eb9c667..4a29ddaef42 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -696,9 +696,21 @@ void efi_signal_event(struct efi_event *event); /* return true if the device is removable */ bool efi_disk_is_removable(efi_handle_t handle); -/* open file system: */ -struct efi_simple_file_system_protocol *efi_simple_file_system( - struct blk_desc *desc, int part, struct efi_device_path *dp); +/** + * efi_create_simple_file_system() - create simple file system protocol + * + * Create a simple file system protocol for a partition. + * + * @desc: block device descriptor + * @part: partition number + * @dp: device path + * @fsp: simple file system protocol + * Return: status code + */ +efi_status_t +efi_create_simple_file_system(struct blk_desc *desc, int part, + struct efi_device_path *dp, + struct efi_simple_file_system_protocol **fsp); /* open file from device-path: */ struct efi_file_handle *efi_file_from_path(struct efi_device_path *fp); |
