File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ unsafe impl AcpiTable for Spcr {
63
63
64
64
impl Spcr {
65
65
/// Gets the type of the register interface.
66
- pub fn interface_type ( & self ) -> SpcrInteraceType {
67
- SpcrInteraceType :: from ( self . interface_type )
66
+ pub fn interface_type ( & self ) -> SpcrInterfaceType {
67
+ SpcrInterfaceType :: from ( self . interface_type )
68
68
}
69
69
70
70
/// The base address of the Serial Port register set, if if console
@@ -209,7 +209,7 @@ bitflags::bitflags! {
209
209
210
210
#[ repr( u8 ) ]
211
211
#[ derive( Clone , Copy , Debug ) ]
212
- pub enum SpcrInteraceType {
212
+ pub enum SpcrInterfaceType {
213
213
/// Full 16550 interface
214
214
Full16550 ,
215
215
/// Full 16450 interface (must also accept writing to the 16550 FCR register).
@@ -256,7 +256,7 @@ pub enum SpcrInteraceType {
256
256
Unknown ( u8 ) ,
257
257
}
258
258
259
- impl From < u8 > for SpcrInteraceType {
259
+ impl From < u8 > for SpcrInterfaceType {
260
260
fn from ( val : u8 ) -> Self {
261
261
match val {
262
262
0x00 => Self :: Full16550 ,
You can’t perform that action at this time.
0 commit comments