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

41 lines
1.2 KiB
Diff
Raw Normal View History

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