nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0190-grub-core-disk-ieee1275-nand.c-Fix-compilation-on.patch

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