aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/dev-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c64xx/dev-spi.c')
-rw-r--r--arch/arm/mach-s3c64xx/dev-spi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c64xx/dev-spi.c b/arch/arm/mach-s3c64xx/dev-spi.c
index 3341fd118723..3f437e7a6ba5 100644
--- a/arch/arm/mach-s3c64xx/dev-spi.c
+++ b/arch/arm/mach-s3c64xx/dev-spi.c
@@ -24,12 +24,6 @@
24#include <plat/gpio-cfg.h> 24#include <plat/gpio-cfg.h>
25#include <plat/devs.h> 25#include <plat/devs.h>
26 26
27static char *spi_src_clks[] = {
28 [S3C64XX_SPI_SRCCLK_PCLK] = "pclk",
29 [S3C64XX_SPI_SRCCLK_SPIBUS] = "spi-bus",
30 [S3C64XX_SPI_SRCCLK_48M] = "spi_48m",
31};
32
33/* SPI Controller platform_devices */ 27/* SPI Controller platform_devices */
34 28
35/* Since we emulate multi-cs capability, we do not touch the GPC-3,7. 29/* Since we emulate multi-cs capability, we do not touch the GPC-3,7.
@@ -176,5 +170,4 @@ void __init s3c64xx_spi_set_info(int cntrlr, int src_clk_nr, int num_cs)
176 170
177 pd->num_cs = num_cs; 171 pd->num_cs = num_cs;
178 pd->src_clk_nr = src_clk_nr; 172 pd->src_clk_nr = src_clk_nr;
179 pd->src_clk_name = spi_src_clks[src_clk_nr];
180} 173}