X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=disk%2Fpart_iso.c;h=e733227f5996b8ef83ccb4a1fa5ac1f7b02a8699;hb=4862830b696a6d0750e19d32a82553cdb41a85f8;hp=8aef251f4eb245f6345d2496046cf32183fdb184;hpb=0031af9ce7b1c2d98ce77cc20bd7546d64e334fe;p=oweals%2Fu-boot.git diff --git a/disk/part_iso.c b/disk/part_iso.c index 8aef251f4e..e733227f59 100644 --- a/disk/part_iso.c +++ b/disk/part_iso.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -10,7 +9,7 @@ #include #include "part_iso.h" -#ifdef HAVE_BLOCK_DEVICE +#ifdef CONFIG_HAVE_BLOCK_DEVICE /* #define ISO_PART_DEBUG */ @@ -202,7 +201,7 @@ found: static int part_get_info_iso(struct blk_desc *dev_desc, int part_num, disk_partition_t *info) { - return part_get_info_iso_verb(dev_desc, part_num, info, 1); + return part_get_info_iso_verb(dev_desc, part_num, info, 0); } static void part_print_iso(struct blk_desc *dev_desc) @@ -228,7 +227,7 @@ static int part_test_iso(struct blk_desc *dev_desc) { disk_partition_t info; - return part_get_info_iso_verb(dev_desc, 1, &info, 1); + return part_get_info_iso_verb(dev_desc, 1, &info, 0); } U_BOOT_PART_TYPE(iso) = {