]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DevicePathFromText.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / DevicePathFromText.h
index 7c4a16148304b232916867434bd6e3c62bda082a..5698020c444b31fd51a6057c620ce8a898f5ae93 100644 (file)
@@ -1,23 +1,15 @@
 /** @file\r
-  EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL as defined in UEFI 2.0.  \r
+  EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL as defined in UEFI 2.0.\r
   This protocol provides service to convert text to device paths and device nodes.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
-  All rights reserved. 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
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #ifndef __DEVICE_PATH_FROM_TEXT_PROTOCOL_H__\r
 #define __DEVICE_PATH_FROM_TEXT_PROTOCOL_H__\r
 \r
-#include <Protocol/DevicePath.h>\r
-\r
 ///\r
 /// Device Path From Text protocol\r
 ///\r
@@ -41,8 +33,8 @@ typedef
 EFI_DEVICE_PATH_PROTOCOL*\r
 (EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_NODE)(\r
   IN CONST CHAR16                 *TextDeviceNode\r
-  );    \r
-  \r
+  );\r
+\r
 \r
 /**\r
   Convert text to the binary representation of a device node.\r
@@ -59,19 +51,11 @@ typedef
 EFI_DEVICE_PATH_PROTOCOL*\r
 (EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_PATH)(\r
   IN CONST CHAR16                 *TextDevicePath\r
-  );  \r
+  );\r
 \r
-/**\r
-  @par Protocol Description:\r
-  This protocol converts text to device paths and device nodes.\r
-\r
-  @param ConvertTextToDeviceNode\r
-  Convert text to a device node.\r
-  \r
-  @param ConvertTextToDevicePath\r
-  Convert text to a device path\r
-  \r
-**/   \r
+///\r
+/// This protocol converts text to device paths and device nodes.\r
+///\r
 typedef struct {\r
   EFI_DEVICE_PATH_FROM_TEXT_NODE  ConvertTextToDeviceNode;\r
   EFI_DEVICE_PATH_FROM_TEXT_PATH  ConvertTextToDevicePath;\r