summaryrefslogtreecommitdiff
path: root/disk/part_mac.c
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-02-06 12:43:56 -0600
committerTom Rini <trini@konsulko.com>2018-02-08 19:09:03 -0500
commit1811a928c6c7604d6d05a84b4d552a7c31b4994e (patch)
tree7290cbb48a592acd901b0fab235dd08efb54b8ee /disk/part_mac.c
parent560eeee8c2953badfe2a12737ff8e66fefad7944 (diff)
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 <aford173@gmail.com> [trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'disk/part_mac.c')
-rw-r--r--disk/part_mac.c2
1 files changed, 1 insertions, 1 deletions
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 <ide.h>
#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