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_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk/part_efi.c') diff --git a/disk/part_efi.c b/disk/part_efi.c index bea8b20bbd..fb221eec09 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR; -#ifdef HAVE_BLOCK_DEVICE +#ifdef CONFIG_HAVE_BLOCK_DEVICE /** * efi_crc32() - EFI version of crc32 function * @buf: buffer to calculate crc32 of -- cgit v1.2.3