From: Len Brown Date: Sun, 10 Feb 2013 02:51:27 +0000 (-0500) Subject: PM idle: remove global declaration of pm_idle X-Git-Tag: v3.9-rc1~146^2^2~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=558bd3e8dc7a798c5c845f90cf038b9bbd2df2b8;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman Cc: linux-pm@vger.kernel.org --- diff --git a/include/linux/pm.h b/include/linux/pm.h index 03d7bb1..97bcf23 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -31,7 +31,6 @@ /* * Callbacks for platform drivers to implement. */ -extern void (*pm_idle)(void); extern void (*pm_power_off)(void); extern void (*pm_power_off_prepare)(void);