From 1811a928c6c7604d6d05a84b4d552a7c31b4994e Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Tue, 6 Feb 2018 12:43:56 -0600 Subject: Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to Kconfig allows us to drastically shrink the logic in config_fallbacks.h Signed-off-by: Adam Ford [trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE] Signed-off-by: Tom Rini --- cmd/blk_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/blk_common.c') diff --git a/cmd/blk_common.c b/cmd/blk_common.c index bf2f626dd65..643fd0bfbc8 100644 --- a/cmd/blk_common.c +++ b/cmd/blk_common.c @@ -12,7 +12,7 @@ #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) { -- cgit v1.2.3