diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-04-06 11:17:26 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-08 19:33:55 -0400 |
commit | 4574b886698dfad6209102fed6136622b5fe1c21 (patch) | |
tree | 2f1deee540c68261f4531d09337a19a130a7ea45 /arch/arm/plat-orion/include/plat | |
parent | 2f129bf4aab684bef1e82e747b709a5025ecb698 (diff) |
ARM: Orion: SPI: Add clk/clkdev support.
Remove now redundant tclk from SPI platform data. This makes the platform
data empty, so remove it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'arch/arm/plat-orion/include/plat')
-rw-r--r-- | arch/arm/plat-orion/include/plat/common.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/plat-orion/include/plat/common.h b/arch/arm/plat-orion/include/plat/common.h index a7fa005a5a0e..d188a1aa6f56 100644 --- a/arch/arm/plat-orion/include/plat/common.h +++ b/arch/arm/plat-orion/include/plat/common.h | |||
@@ -70,11 +70,9 @@ void __init orion_i2c_1_init(unsigned long mapbase, | |||
70 | unsigned long irq, | 70 | unsigned long irq, |
71 | unsigned long freq_m); | 71 | unsigned long freq_m); |
72 | 72 | ||
73 | void __init orion_spi_init(unsigned long mapbase, | 73 | void __init orion_spi_init(unsigned long mapbase); |
74 | unsigned long tclk); | ||
75 | 74 | ||
76 | void __init orion_spi_1_init(unsigned long mapbase, | 75 | void __init orion_spi_1_init(unsigned long mapbase); |
77 | unsigned long tclk); | ||
78 | 76 | ||
79 | void __init orion_wdt_init(unsigned long tclk); | 77 | void __init orion_wdt_init(unsigned long tclk); |
80 | 78 | ||
@@ -106,4 +104,9 @@ void __init orion_crypto_init(unsigned long mapbase, | |||
106 | unsigned long srambase, | 104 | unsigned long srambase, |
107 | unsigned long sram_size, | 105 | unsigned long sram_size, |
108 | unsigned long irq); | 106 | unsigned long irq); |
107 | |||
108 | void __init orion_clkdev_add(const char *con_id, const char *dev_id, | ||
109 | struct clk *clk); | ||
110 | |||
111 | void __init orion_clkdev_init(struct clk *tclk); | ||
109 | #endif | 112 | #endif |