public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org, leif.lindholm@linaro.org
Cc: lersek@redhat.com, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH 3/5] Omap35xxPkg/MMCHSDxe: fix device path initializer
Date: Tue, 25 Oct 2016 18:10:25 +0100	[thread overview]
Message-ID: <1477415427-10888-3-git-send-email-ard.biesheuvel@linaro.org> (raw)
In-Reply-To: <1477415427-10888-1-git-send-email-ard.biesheuvel@linaro.org>

Fix the braces in a static device path template definition.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 Omap35xxPkg/MMCHSDxe/MMCHS.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/Omap35xxPkg/MMCHSDxe/MMCHS.c b/Omap35xxPkg/MMCHSDxe/MMCHS.c
index 9f0ebe0f65d5..5c8e1bd74692 100644
--- a/Omap35xxPkg/MMCHSDxe/MMCHS.c
+++ b/Omap35xxPkg/MMCHSDxe/MMCHS.c
@@ -43,11 +43,15 @@ typedef struct {
 
 MMCHS_DEVICE_PATH gMmcHsDevicePath = {
   {
-    HARDWARE_DEVICE_PATH,
-    HW_VENDOR_DP,
-    (UINT8)(sizeof(VENDOR_DEVICE_PATH)),
-    (UINT8)((sizeof(VENDOR_DEVICE_PATH)) >> 8),
-    0xb615f1f5, 0x5088, 0x43cd, 0x80, 0x9c, 0xa1, 0x6e, 0x52, 0x48, 0x7d, 0x00
+    {
+      HARDWARE_DEVICE_PATH,
+      HW_VENDOR_DP,
+      {
+        (UINT8)(sizeof(VENDOR_DEVICE_PATH)),
+        (UINT8)((sizeof(VENDOR_DEVICE_PATH)) >> 8),
+      },
+    },
+    { 0xb615f1f5, 0x5088, 0x43cd, { 0x80, 0x9c, 0xa1, 0x6e, 0x52, 0x48, 0x7d, 0x00 } },
   },
   {
     END_DEVICE_PATH_TYPE,
-- 
2.7.4



  parent reply	other threads:[~2016-10-25 17:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25 17:10 [PATCH 1/5] ArmPkg/ArmDmaLib: add missing DxeServicesTableLib dependency Ard Biesheuvel
2016-10-25 17:10 ` [PATCH 2/5] Omap35xxPkg: remove unused ResetSystemLib implementation Ard Biesheuvel
2016-10-25 17:10 ` Ard Biesheuvel [this message]
2016-10-25 17:10 ` [PATCH 4/5] Omap35xxPkg/Omap35xxPkg.dsc: fix build and add missing modules Ard Biesheuvel
2016-10-25 17:10 ` [PATCH 5/5] Omap35xxPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES Ard Biesheuvel
2016-10-25 17:46 ` [PATCH 1/5] ArmPkg/ArmDmaLib: add missing DxeServicesTableLib dependency Leif Lindholm
2016-10-25 17:47   ` Ard Biesheuvel
2016-10-26  7:56     ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477415427-10888-3-git-send-email-ard.biesheuvel@linaro.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox