Re: [PATCH] ARCH: OMAP: Kill compile warning on board-3430sdp-flash.c

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

 



* Felipe Balbi <felipe.balbi@xxxxxxxxx> [080206 03:47]:
> Commit 3ae4b7e31cd51af2e2184c640c9f50f574acd449 from Adrian Hunter
> has changed onenand_setup prototype in struct omap_onenand_platform_data
> causing a compile warning of incompatible pointer type when building
> 3430sdp kernels.
> 
> This is a trivial patch to fix such warning.
> 
> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> ---
>  arch/arm/mach-omap2/board-3430sdp-flash.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-3430sdp-flash.c b/arch/arm/mach-omap2/board-3430sdp-flash.c
> index acd576c..1fddcd6 100644
> --- a/arch/arm/mach-omap2/board-3430sdp-flash.c
> +++ b/arch/arm/mach-omap2/board-3430sdp-flash.c
> @@ -79,7 +79,7 @@ static struct platform_device sdp_nor_device = {
>  	.resource	= &sdp_nor_resource,
>  };
>  
> -static int sdp_onenand_setup(void __iomem *);
> +static int sdp_onenand_setup(void __iomem *, int freq);
>  
>  static struct mtd_partition sdp_onenand_partitions[] = {
>  	{
> @@ -132,7 +132,7 @@ static struct platform_device sdp_onenand_device = {
>   *
>   * @return int:	Currently always returning zero.
>   */
> -static int sdp_onenand_setup(void __iomem *onenand_base)
> +static int sdp_onenand_setup(void __iomem *onenand_base, int freq)
>  {
>  	/* Onenand setup does nothing at present */
>  	return 0;

Pushing today.

Tony
-
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