ARM: SAMSUNG: Add missing variable declaration in s3c64xx_spi1_set_platdata()
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 21 Sep 2012 02:21:17 +0000 (11:21 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 21 Sep 2012 03:52:56 +0000 (12:52 +0900)
Fixes regression introduced in commit 4d0efdd5889b ("ARM: SAMSUNG:
Modify s3c64xx_spi{0|1|2}_set_platdata function")

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/devs.c

index fc49f3dabd7653624b7f9ccc8e78ef12b102d527..2195209aa54384fca8673194463e12e482066ead 100644 (file)
@@ -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__);