summaryrefslogtreecommitdiff
path: root/drivers/qe/fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/qe/fdt.c')
-rw-r--r--drivers/qe/fdt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/qe/fdt.c b/drivers/qe/fdt.c
index d9a7d82..dfae4bf 100644
--- a/drivers/qe/fdt.c
+++ b/drivers/qe/fdt.c
@@ -12,6 +12,7 @@
#include <fdt_support.h>
#include "qe.h"
+#ifdef CONFIG_QE
DECLARE_GLOBAL_DATA_PTR;
/*
@@ -72,3 +73,4 @@ void ft_qe_setup(void *blob)
"clock-frequency", gd->arch.qe_clk / 2, 1);
fdt_fixup_qe_firmware(blob);
}
+#endif