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 --- disk/part_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk/part_mac.c') diff --git a/disk/part_mac.c b/disk/part_mac.c index e31bc9060c..e65930d8e7 100644 --- a/disk/part_mac.c +++ b/disk/part_mac.c @@ -19,7 +19,7 @@ #include #include "part_mac.h" -#ifdef HAVE_BLOCK_DEVICE +#ifdef CONFIG_HAVE_BLOCK_DEVICE /* stdlib.h causes some compatibility problems; should fixe these! -- wd */ #ifndef __ldiv_t_defined -- cgit v1.2.1