瀏覽代碼

PM idle: remove global declaration of pm_idle

pm_idle appears in no generic Linux code,
it appears only in architecture-specific code.

Thus, pm_idle should not be declared in pm.h.

Architectures that  use an idle function pointer
should delcare one local to their architecture,
and/or use cpuidle.

Signed-off-by: Len Brown <len.brown@intel.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Cc: linux-pm@vger.kernel.org
Len Brown 12 年之前
父節點
當前提交
558bd3e8dc
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      include/linux/pm.h

+ 0 - 1
include/linux/pm.h

@@ -31,7 +31,6 @@
 /*
 /*
  * Callbacks for platform drivers to implement.
  * Callbacks for platform drivers to implement.
  */
  */
-extern void (*pm_idle)(void);
 extern void (*pm_power_off)(void);
 extern void (*pm_power_off)(void);
 extern void (*pm_power_off_prepare)(void);
 extern void (*pm_power_off_prepare)(void);