summaryrefslogtreecommitdiff
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-06-24 09:48:32 +0400
committerLen Brown <len.brown@intel.com>2009-06-24 09:48:32 +0400
commitb188e4ce3b7965ecc8d45191042cc9d25f6b90ee (patch)
tree47102dec98d8d66f6f752ff7d7666073b8dc207d /drivers/acpi/processor_idle.c
parent74cad4ee9839669ad920257678ea0bf0a818cd3b (diff)
downloadlinux-b188e4ce3b7965ecc8d45191042cc9d25f6b90ee.tar.xz
ACPI: fix CONFIG_ACPI_PROCFS=n build warning
drivers/acpi/processor_idle.c:1162: warning: unused variable ‘entry’ Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 67b2fa1b5b63..b85d9f022716 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1160,7 +1160,9 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
{
acpi_status status = 0;
static int first_run;
+#ifdef CONFIG_ACPI_PROCFS
struct proc_dir_entry *entry = NULL;
+#endif
unsigned int i;
if (boot_option_idle_override)