Subject: [PATCH] omap2+: pm: fix compilation break.

From: [email-masked] (Tony Lindgren)
Date: Thu, 29 Mar 2012 08:11:29 -0700

* Govindraj.R <[email-masked]> [120329 03:12]:
> From: "Govindraj.R" <[email-masked]>
> 
> Fix the compilation break observed on latest mainline.
> 
> Fixes below compilation break:
> 
> arch/arm/mach-omap2/pm.c: In function 'omap_pm_begin':
> arch/arm/mach-omap2/pm.c:239: error: implicit declaration of function 'disable_hlt'
> arch/arm/mach-omap2/pm.c: In function 'omap_pm_end':
> arch/arm/mach-omap2/pm.c:247: error: implicit declaration of function 'enable_hlt'

Care to mention which commit broke the compile?

Regards,

Tony
 
> Cc: Kevin Hilman <[email-masked]>
> Cc: Tony Lindgren <[email-masked]>
> Signed-off-by: Govindraj.R <[email-masked]>
> ---
>  arch/arm/mach-omap2/pm.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
> index a7bdec6..70da4f7 100644
> --- a/arch/arm/mach-omap2/pm.c
> +++ b/arch/arm/mach-omap2/pm.c
> @@ -16,6 +16,7 @@
>  #include <linux/opp.h>
>  #include <linux/export.h>
>  #include <linux/suspend.h>
> +#include <asm/system_misc.h>
>  
>  #include <plat/omap-pm.h>
>  #include <plat/omap_device.h>
> -- 
> 1.7.5.4
>