浏览代码

[PATCH] via-pmu: compile without Power Management support

Fix compilation of via-pmu.c without Power Management support.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Kristian Mueller 19 年之前
父节点
当前提交
a04c8780fd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/macintosh/via-pmu.c

+ 1 - 1
drivers/macintosh/via-pmu.c

@@ -158,8 +158,8 @@ static int pmu_version;
 static int drop_interrupts;
 #if defined(CONFIG_PM) && defined(CONFIG_PPC32)
 static int option_lid_wakeup = 1;
-static int sleep_in_progress;
 #endif /* CONFIG_PM && CONFIG_PPC32 */
+static int sleep_in_progress;
 static unsigned long async_req_locks;
 static unsigned int pmu_irq_stats[11];