diff options
author | Len Brown <len.brown@intel.com> | 2009-06-24 07:48:32 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-24 07:48:32 +0200 |
commit | b188e4ce3b7965ecc8d45191042cc9d25f6b90ee (patch) | |
tree | 47102dec98d8d66f6f752ff7d7666073b8dc207d /drivers/acpi/processor_idle.c | |
parent | ACPI: Make ACPI processor proc I/F depend on the ACPI_PROCFS (diff) | |
download | linux-b188e4ce3b7965ecc8d45191042cc9d25f6b90ee.tar.xz linux-b188e4ce3b7965ecc8d45191042cc9d25f6b90ee.zip |
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.c | 2 |
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) |