]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.c
EmbeddedPkg: Clarify the declaration of SerialPortGetControl()
[mirror_edk2.git] / EmbeddedPkg / Library / TemplateSerialPortExtLib / TemplateSerialPortExtLib.c
index 2c2b4382d22b6bcbf0cd21fb48d25da2f7cad009..f0f8465cb6d43e0be1bded008bc47c46de41c7c2 100644 (file)
@@ -36,7 +36,7 @@ SerialPortSetControl (
 /**\r
   Get the serial device control bits.\r
 \r
-  @param  Control                 Control signals read from the serial device.\r
+  @param  Control  Control signals read from the serial device.\r
 \r
   @retval EFI_SUCCESS             The control bits were read from the serial device.\r
   @retval EFI_DEVICE_ERROR        The serial device is not functioning correctly.\r
@@ -45,7 +45,7 @@ SerialPortSetControl (
 RETURN_STATUS\r
 EFIAPI\r
 SerialPortGetControl (\r
-  OUT UINT32                  *Control\r
+  OUT UINT32  *Control\r
   )\r
 {\r
   if (SerialPortPoll ()) {\r
@@ -54,7 +54,7 @@ SerialPortGetControl (
   } else {\r
     *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY | EFI_SERIAL_OUTPUT_BUFFER_EMPTY;\r
   }\r
-  return EFI_SUCCESS;\r
+  return RETURN_SUCCESS;\r
 }\r
 \r
 /**\r