summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/nssearch.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-04-22 07:02:06 +0200
committerLen Brown <len.brown@intel.com>2009-05-27 06:30:49 +0200
commite4c1ebfc65c125b1289144f5815715f238367683 (patch)
tree9039c8070d82656fb7aab9eba495b307f803847b /drivers/acpi/acpica/nssearch.c
parentACPICA: Fix possible dereference of null pointer (diff)
downloadlinux-e4c1ebfc65c125b1289144f5815715f238367683.tar.xz
linux-e4c1ebfc65c125b1289144f5815715f238367683.zip
ACPICA: Miscellaneous lint changes
Unused variables/headers, casting, etc. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nssearch.c')
-rw-r--r--drivers/acpi/acpica/nssearch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/nssearch.c b/drivers/acpi/acpica/nssearch.c
index f9b4f51bf8f2..7e865639a928 100644
--- a/drivers/acpi/acpica/nssearch.c
+++ b/drivers/acpi/acpica/nssearch.c
@@ -45,6 +45,10 @@
#include "accommon.h"
#include "acnamesp.h"
+#ifdef ACPI_ASL_COMPILER
+#include "amlcode.h"
+#endif
+
#define _COMPONENT ACPI_NAMESPACE
ACPI_MODULE_NAME("nssearch")