From patchwork Mon Feb 12 11:55:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 871996 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zg3yt53CCz9sRW for ; Mon, 12 Feb 2018 22:55:50 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 045DCC21E31; Mon, 12 Feb 2018 11:55:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 98DD8C21C57; Mon, 12 Feb 2018 11:55:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C2AF1C21C57; Mon, 12 Feb 2018 11:55:41 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lists.denx.de (Postfix) with ESMTPS id 6E7A7C21C2F for ; Mon, 12 Feb 2018 11:55:41 +0000 (UTC) Received: from LPT2.fritz.box ([88.152.14.75]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0LoVja-1eJ2sy0gf4-00gb5w; Mon, 12 Feb 2018 12:55:38 +0100 From: Heinrich Schuchardt To: Alexander Graf Date: Mon, 12 Feb 2018 12:55:28 +0100 Message-Id: <20180212115528.12691-1-xypron.glpk@gmx.de> X-Mail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JV8Q5J+sGmAjrOboYvzUj0NlF6SNtDzjnjF/sIkFq3kplQE uZrk9dgs4JpuE5kelABOxlfbAgzow== Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PATCH 1/1][for v2018.03] efi_driver: comment struct efi_driver_ops X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Provide description for struct efi_driver_ops. Signed-off-by: Heinrich Schuchardt --- include/efi_driver.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/efi_driver.h b/include/efi_driver.h index 2bbe26c6e31..010e55a4739 100644 --- a/include/efi_driver.h +++ b/include/efi_driver.h @@ -13,6 +13,18 @@ #include #include +/* + * Operations supported by an EFI driver with respect to the EFI uclass + * + * @protocol The GUID of the protocol which is consumed by the + * driver. This GUID is used by the EFI uclass in the + * supports() and start() methods of the + * EFI_DRIVER_BINDING_PROTOCOL. + * @child_protocol Protocol supported by the child handles generated by + * the EFI driver. + * @bind Function called by the EFI uclass to attach the + * driver to EFI driver to a handle. + */ struct efi_driver_ops { const efi_guid_t *protocol; const efi_guid_t *child_protocol;