aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/extres/regulator/regulator_fixed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/extres/regulator/regulator_fixed.c b/sys/dev/extres/regulator/regulator_fixed.c
index 05e0a8bb8f45..74c475e08eba 100644
--- a/sys/dev/extres/regulator/regulator_fixed.c
+++ b/sys/dev/extres/regulator/regulator_fixed.c
@@ -46,7 +46,9 @@ __FBSDID("$FreeBSD$");
#include <dev/gpio/gpiobusvar.h>
#include <dev/extres/regulator/regulator_fixed.h>
+#ifdef FDT
#include "regdev_if.h"
+#endif
MALLOC_DEFINE(M_FIXEDREGULATOR, "fixedregulator", "Fixed regulator");