]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/UfsDeviceConfig.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / UfsDeviceConfig.h
index 6d4abc5e579719d39af11c5e4e96f1e93bcb07a6..34676c7831c5326b9af57ec7a5a80e816e5725c7 100644 (file)
@@ -2,13 +2,7 @@
   This file defines the EFI UFS Device Config Protocol.\r
 \r
   Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
   @par Revision Reference:\r
   This Protocol is introduced in UEFI Specification 2.7\r
@@ -27,7 +21,7 @@
 //\r
 // Forward reference for pure ANSI compatability\r
 //\r
-typedef struct _EFI_UFS_DEVICE_CONFIG_PROTOCOL  EFI_UFS_DEVICE_CONFIG_PROTOCOL;\r
+typedef struct _EFI_UFS_DEVICE_CONFIG_PROTOCOL EFI_UFS_DEVICE_CONFIG_PROTOCOL;\r
 \r
 /**\r
   Read or write specified device descriptor of a UFS device.\r
@@ -54,7 +48,7 @@ typedef struct _EFI_UFS_DEVICE_CONFIG_PROTOCOL  EFI_UFS_DEVICE_CONFIG_PROTOCOL;
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_DESCRIPTOR) (\r
+(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_DESCRIPTOR)(\r
   IN EFI_UFS_DEVICE_CONFIG_PROTOCOL    *This,\r
   IN BOOLEAN                           Read,\r
   IN UINT8                             DescId,\r
@@ -84,7 +78,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_FLAG) (\r
+(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_FLAG)(\r
   IN EFI_UFS_DEVICE_CONFIG_PROTOCOL    *This,\r
   IN BOOLEAN                           Read,\r
   IN UINT8                             FlagId,\r
@@ -116,7 +110,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_ATTRIBUTE) (\r
+(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_ATTRIBUTE)(\r
   IN EFI_UFS_DEVICE_CONFIG_PROTOCOL    *This,\r
   IN BOOLEAN                           Read,\r
   IN UINT8                             AttrId,\r
@@ -138,6 +132,6 @@ struct _EFI_UFS_DEVICE_CONFIG_PROTOCOL {
 ///\r
 /// UFS Device Config Protocol GUID variable.\r
 ///\r
-extern EFI_GUID gEfiUfsDeviceConfigProtocolGuid;\r
+extern EFI_GUID  gEfiUfsDeviceConfigProtocolGuid;\r
 \r
 #endif\r