RE: [PATCH] ARM: SAMSUNG: Add missing variable declaration in s3c64xx_spi1_set_platdata()

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

 



Sylwester Nawrocki wrote:
> 
> Fixes regression introduced in commit 4d0efdd5889b1c81a62aa07a
> "ARM: SAMSUNG: Modify s3c64xx_spi{0|1|2}_set_platdata function"
> 
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
>  arch/arm/plat-samsung/devs.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
> index fc49f3d..2195209 100644
> --- a/arch/arm/plat-samsung/devs.c
> +++ b/arch/arm/plat-samsung/devs.c
> @@ -1591,6 +1591,8 @@ struct platform_device s3c64xx_device_spi1 = {
>  void __init s3c64xx_spi1_set_platdata(int (*cfg_gpio)(void), int
> src_clk_nr,
>  						int num_cs)
>  {
> +	struct s3c64xx_spi_info pd;
> +
>  	/* Reject invalid configuration */
>  	if (!num_cs || src_clk_nr < 0) {
>  		pr_err("%s: Invalid SPI configuration\n", __func__);
> --
> 1.7.11.3

Applied, thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux