File tree 1 file changed +4
-4
lines changed
uefi/src/proto/console/pointer
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ use core::mem::MaybeUninit;
7
7
/// Provides information about a pointer device.
8
8
#[ repr( C ) ]
9
9
#[ unsafe_protocol( "31878c87-0b75-11d5-9a4f-0090273fc14d" ) ]
10
- pub struct Pointer < ' boot > {
10
+ pub struct Pointer {
11
11
reset : extern "efiapi" fn ( this : & mut Pointer , ext_verif : bool ) -> Status ,
12
12
get_state : extern "efiapi" fn ( this : & Pointer , state : * mut PointerState ) -> Status ,
13
13
wait_for_input : Event ,
14
- mode : & ' boot PointerMode ,
14
+ mode : * const PointerMode ,
15
15
}
16
16
17
- impl < ' boot > Pointer < ' boot > {
17
+ impl Pointer {
18
18
/// Resets the pointer device hardware.
19
19
///
20
20
/// The `extended_verification` parameter is used to request that UEFI
@@ -54,7 +54,7 @@ impl<'boot> Pointer<'boot> {
54
54
/// Returns a reference to the pointer device information.
55
55
#[ must_use]
56
56
pub const fn mode ( & self ) -> & PointerMode {
57
- self . mode
57
+ unsafe { & * self . mode }
58
58
}
59
59
}
60
60
You can’t perform that action at this time.
0 commit comments