diff options
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 2 |
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 = { | |||
1591 | void __init s3c64xx_spi1_set_platdata(int (*cfg_gpio)(void), int src_clk_nr, | 1591 | void __init s3c64xx_spi1_set_platdata(int (*cfg_gpio)(void), int src_clk_nr, |
1592 | int num_cs) | 1592 | int num_cs) |
1593 | { | 1593 | { |
1594 | struct s3c64xx_spi_info pd; | ||
1595 | |||
1594 | /* Reject invalid configuration */ | 1596 | /* Reject invalid configuration */ |
1595 | if (!num_cs || src_clk_nr < 0) { | 1597 | if (!num_cs || src_clk_nr < 0) { |
1596 | pr_err("%s: Invalid SPI configuration\n", __func__); | 1598 | pr_err("%s: Invalid SPI configuration\n", __func__); |