summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2012-09-21 06:21:17 +0400
committerKukjin Kim <kgene.kim@samsung.com>2012-09-21 07:52:56 +0400
commitfb997a46626dca2778fa7570bb516d8486f2f837 (patch)
tree47fc7011723eff5b539328324539f6304d8e8af8 /arch
parentdec2e82a91411f0e1948b49b5c36fa1c566de227 (diff)
downloadlinux-fb997a46626dca2778fa7570bb516d8486f2f837.tar.xz
ARM: SAMSUNG: Add missing variable declaration in s3c64xx_spi1_set_platdata()
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-samsung/devs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index fc49f3dabd76..2195209aa543 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__);