uboot-oxnas: fix build with gcc-5

This backports a patch from upstream u-boot to make it compile with gcc-5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47535
This commit is contained in:
Hauke Mehrtens
2015-11-20 22:22:37 +00:00
parent ade2c06d61
commit dc2b471d6a
2 changed files with 88 additions and 6 deletions

View File

@@ -17,11 +17,9 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
disk/part.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/disk/part.c b/disk/part.c
index 43485c9..7c67ea6 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -229,13 +229,13 @@ void dev_print (block_dev_desc_t *dev_desc)
@@ -229,13 +229,13 @@ void dev_print (block_dev_desc_t *dev_de
printf (" Supports 48-bit addressing\n");
#endif
#if defined(CONFIG_SYS_64BIT_LBA)
@@ -37,6 +35,3 @@ index 43485c9..7c67ea6 100644
mb_quot, mb_rem,
gb_quot, gb_rem,
(ulong)lba,
--
2.1.3