Skip to content

Commit 1ef1da0

Browse files
uefi-raw: Fix arg type in connect_controller
Accidentally left a TODO here, replace with `c_void` with `DevicePathProtocol`.
1 parent 077256f commit 1ef1da0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

uefi-raw/src/table/boot.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ pub struct BootServices {
137137
pub connect_controller: unsafe extern "efiapi" fn(
138138
controller: Handle,
139139
driver_image: Handle,
140-
// TODO
141-
remaining_device_path: *const c_void,
140+
remaining_device_path: *const DevicePathProtocol,
142141
recursive: bool,
143142
) -> Status,
144143
pub disconnect_controller: unsafe extern "efiapi" fn(

0 commit comments

Comments
 (0)