a5bd9f6
From 78ba098e4146119aab14f66f13ad4d8e20962342 Mon Sep 17 00:00:00 2001
a5bd9f6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
a5bd9f6
Date: Sun, 3 Mar 2013 01:30:55 +0100
a5bd9f6
Subject: [PATCH 189/364] 	* grub-core/disk/ieee1275/nand.c: Fix
a5bd9f6
 compilation on 	i386-ieee1275.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog                      | 5 +++++
a5bd9f6
 grub-core/disk/ieee1275/nand.c | 2 +-
a5bd9f6
 2 files changed, 6 insertions(+), 1 deletion(-)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index ea87229..f117127 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,3 +1,8 @@
a5bd9f6
+2013-03-03  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
+
a5bd9f6
+	* grub-core/disk/ieee1275/nand.c: Fix compilation on
a5bd9f6
+	i386-ieee1275.
a5bd9f6
+
a5bd9f6
 2013-03-02  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
 
a5bd9f6
 	* include/grub/cmos.h: Handle high CMOS addresses on sparc64.
a5bd9f6
diff --git a/grub-core/disk/ieee1275/nand.c b/grub-core/disk/ieee1275/nand.c
a5bd9f6
index 30ea0f2..576e9cc 100644
a5bd9f6
--- a/grub-core/disk/ieee1275/nand.c
a5bd9f6
+++ b/grub-core/disk/ieee1275/nand.c
a5bd9f6
@@ -47,7 +47,7 @@ grub_nand_iterate (grub_disk_dev_iterate_hook_t hook, void *hook_data,
a5bd9f6
 
a5bd9f6
       have_nand = 0;
a5bd9f6
       FOR_IEEE1275_DEVALIASES(alias)
a5bd9f6
-	if (grub_strcmp (alias->name, "nand") == 0)
a5bd9f6
+	if (grub_strcmp (alias.name, "nand") == 0)
a5bd9f6
 	  {
a5bd9f6
 	    have_nand = 1;
a5bd9f6
 	    break;
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6