Re: [PATCH][PM] ARM: OMAP34xx: Fix compilation warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Aguirre Rodriguez, Sergio Alberto" <saaguirre@xxxxxx> writes:

> From: Sergio Aguirre <saaguirre@xxxxxx>
>
> This fixes the following compilation warnings:
>
> In file included from arch/arm/mach-omap2/resource34xx.c:26:
> arch/arm/mach-omap2/resource34xx.h:32: warning: function declaration isn't a prototype
> arch/arm/mach-omap2/resource34xx.h:33: warning: function declaration isn't a prototype
>
> Signed-off-by: Sergio Aguirre <saaguirre@xxxxxx>

Thanks, will pull into PM branch and fold into original patch which
introduced these functions.

Kevin

> ---
>  arch/arm/mach-omap2/resource34xx.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/resource34xx.h b/arch/arm/mach-omap2/resource34xx.h
> index 5b5618a..3c70eef 100644
> --- a/arch/arm/mach-omap2/resource34xx.h
> +++ b/arch/arm/mach-omap2/resource34xx.h
> @@ -29,8 +29,8 @@
>  #include <mach/omap34xx.h>
>  
>  extern int sr_voltagescale_vcbypass(u32 t_opp, u32 c_opp, u8 t_vsel, u8 c_vsel);
> -extern void lock_scratchpad_sem();
> -extern void unlock_scratchpad_sem();
> +extern void lock_scratchpad_sem(void);
> +extern void unlock_scratchpad_sem(void);
>  
>  /*
>   * mpu_latency/core_latency are used to control the cpuidle C state.
> -- 
> 1.6.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux