projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74cad4e
)
ACPI: fix CONFIG_ACPI_PROCFS=n build warning
author
Len Brown
<len.brown@intel.com>
Wed, 24 Jun 2009 05:48:32 +0000
(
01:48
-0400)
committer
Len Brown
<len.brown@intel.com>
Wed, 24 Jun 2009 05:48:32 +0000
(
01:48
-0400)
drivers/acpi/processor_idle.c:1162: warning: unused variable ‘entry’
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/processor_idle.c
b/drivers/acpi/processor_idle.c
index 67b2fa1b5b63d6d2390aa652e265857ce2e09dc4..b85d9f02271662922a7ab76ceefdd53d1bc6ed1a 100644
(file)
--- 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)