diff options
author | Padmavathi Venna <padma.v@samsung.com> | 2011-12-23 10:14:45 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-23 10:50:01 +0900 |
commit | 323d7717455e7709a2c923f42349bf2ed36992a3 (patch) | |
tree | 2aeb882223d8b4502bce64208c75dad659221a30 /arch/arm/plat-samsung/devs.c | |
parent | 4566c7f7612fc2323cfae1556c012bb096380a90 (diff) | |
download | linux-stable-323d7717455e7709a2c923f42349bf2ed36992a3.tar.gz linux-stable-323d7717455e7709a2c923f42349bf2ed36992a3.tar.bz2 linux-stable-323d7717455e7709a2c923f42349bf2ed36992a3.zip |
ARM: S5PC100: Modified files for SPI consolidation work
As SPI platform devices are consolidated to plat-samsung, some
corresponding changes are required in the respective machine folder.
Added SPI Setup file for GPIO configurations and platform data
initialization.
Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/devs.c')
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 080ea18d3f94..de0d88d6a0f1 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -1582,6 +1582,9 @@ void __init s3c64xx_spi2_set_platdata(struct s3c64xx_spi_info *pd, pd->num_cs = num_cs; pd->src_clk_nr = src_clk_nr; + if (!pd->cfg_gpio) + pd->cfg_gpio = s3c64xx_spi2_cfg_gpio; + s3c_set_platdata(pd, sizeof(*pd), &s3c64xx_device_spi2); } #endif /* CONFIG_S3C64XX_DEV_SPI2 */ |