X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Fblk_common.c;h=cee25a0d41009644c58f4ea64caabacdf09ac60b;hb=8060209a9278593519f73ba763e67f7aa219a732;hp=bf2f626dd652d5a5238b067f2d9fe13fa00a7cdd;hpb=b55c89ce0207d3a504238c1b8f268c56035656a3;p=oweals%2Fu-boot.git diff --git a/cmd/blk_common.c b/cmd/blk_common.c index bf2f626dd6..cee25a0d41 100644 --- a/cmd/blk_common.c +++ b/cmd/blk_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Handling of common block commands * @@ -5,14 +6,12 @@ * * (C) Copyright 2000-2011 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include -#ifdef HAVE_BLOCK_DEVICE +#ifdef CONFIG_HAVE_BLOCK_DEVICE int blk_common_cmd(int argc, char * const argv[], enum if_type if_type, int *cur_devnump) {