File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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 {
6363
6464impl Spcr {
6565 /// 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 )
6868 }
6969
7070 /// The base address of the Serial Port register set, if if console
@@ -209,7 +209,7 @@ bitflags::bitflags! {
209209
210210#[ repr( u8 ) ]
211211#[ derive( Clone , Copy , Debug ) ]
212- pub enum SpcrInteraceType {
212+ pub enum SpcrInterfaceType {
213213 /// Full 16550 interface
214214 Full16550 ,
215215 /// Full 16450 interface (must also accept writing to the 16550 FCR register).
@@ -256,7 +256,7 @@ pub enum SpcrInteraceType {
256256 Unknown ( u8 ) ,
257257}
258258
259- impl From < u8 > for SpcrInteraceType {
259+ impl From < u8 > for SpcrInterfaceType {
260260 fn from ( val : u8 ) -> Self {
261261 match val {
262262 0x00 => Self :: Full16550 ,
You can’t perform that action at this time.
0 commit comments