aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi/pxa2xx_spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/spi/pxa2xx_spi.h')
-rw-r--r--include/linux/spi/pxa2xx_spi.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h
index 6b99f09b717d..053b5ba51b25 100644
--- a/include/linux/spi/pxa2xx_spi.h
+++ b/include/linux/spi/pxa2xx_spi.h
@@ -133,23 +133,5 @@ static inline void pxa_free_dma(int dma_ch)
133{ 133{
134} 134}
135 135
136/*
137 * The CE4100 does not have the clk framework implemented and SPI clock can
138 * not be switched on/off or the divider changed.
139 */
140static inline void clk_disable(struct clk *clk)
141{
142}
143
144static inline int clk_enable(struct clk *clk)
145{
146 return 0;
147}
148
149static inline unsigned long clk_get_rate(struct clk *clk)
150{
151 return 3686400;
152}
153
154#endif 136#endif
155#endif 137#endif