summaryrefslogtreecommitdiff
path: root/drivers/misc/qfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/qfw.c')
-rw-r--r--drivers/misc/qfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/qfw.c b/drivers/misc/qfw.c
index a298e5cf727..677841aac5e 100644
--- a/drivers/misc/qfw.c
+++ b/drivers/misc/qfw.c
@@ -19,7 +19,7 @@
#include <asm/tables.h>
#endif
-#ifdef CONFIG_GENERATE_ACPI_TABLE
+#if defined(CONFIG_GENERATE_ACPI_TABLE) && !defined(CONFIG_SANDBOX)
/*
* This function allocates memory for ACPI tables
*