aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-06-24 01:48:32 -0400
committerLen Brown <len.brown@intel.com>2009-06-24 01:48:32 -0400
commitb188e4ce3b7965ecc8d45191042cc9d25f6b90ee (patch)
tree47102dec98d8d66f6f752ff7d7666073b8dc207d /drivers
parent74cad4ee9839669ad920257678ea0bf0a818cd3b (diff)
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')
-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,
1160{ 1160{
1161 acpi_status status = 0; 1161 acpi_status status = 0;
1162 static int first_run; 1162 static int first_run;
1163#ifdef CONFIG_ACPI_PROCFS
1163 struct proc_dir_entry *entry = NULL; 1164 struct proc_dir_entry *entry = NULL;
1165#endif
1164 unsigned int i; 1166 unsigned int i;
1165 1167
1166 if (boot_option_idle_override) 1168 if (boot_option_idle_override)