aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2011-10-24 05:47:51 -0400
committerKukjin Kim <kgene.kim@samsung.com>2011-12-22 20:06:57 -0500
commitafba7f91e64025748a2cfec181e5a910fd0dee0e (patch)
tree37872a38eea179a6adb9eacbd5334b4352043413 /arch/arm/plat-samsung
parent5f5a7a5578c5885201cf9c85856f023fe8b81765 (diff)
ARM: SAMSUNG: remove struct 's3c24xx_uart_clksrc' and all uses of it
With clkdev based clock lookup added to samsung serial driver, the use of 'struct s3c24xx_uart_clksrc' to supply clock names in platform data is removed from all the Samsung platform code. Cc: Ben Dooks <ben-linux@fluff.org> Cc: Ramax Lo <ramaxlo@gmail.com> Cc: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/include/plat/regs-serial.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/plat-samsung/include/plat/regs-serial.h b/arch/arm/plat-samsung/include/plat/regs-serial.h
index b493d8d0cc0c..25f0c364f61a 100644
--- a/arch/arm/plat-samsung/include/plat/regs-serial.h
+++ b/arch/arm/plat-samsung/include/plat/regs-serial.h
@@ -229,26 +229,6 @@
229 229
230#ifndef __ASSEMBLY__ 230#ifndef __ASSEMBLY__
231 231
232/* struct s3c24xx_uart_clksrc
233 *
234 * this structure defines a named clock source that can be used for the
235 * uart, so that the best clock can be selected for the requested baud
236 * rate.
237 *
238 * min_baud and max_baud define the range of baud-rates this clock is
239 * acceptable for, if they are both zero, it is assumed any baud rate that
240 * can be generated from this clock will be used.
241 *
242 * divisor gives the divisor from the clock to the one seen by the uart
243*/
244
245struct s3c24xx_uart_clksrc {
246 const char *name;
247 unsigned int divisor;
248 unsigned int min_baud;
249 unsigned int max_baud;
250};
251
252/* configuration structure for per-machine configurations for the 232/* configuration structure for per-machine configurations for the
253 * serial port 233 * serial port
254 * 234 *
@@ -268,9 +248,6 @@ struct s3c2410_uartcfg {
268 unsigned long ucon; /* value of ucon for port */ 248 unsigned long ucon; /* value of ucon for port */
269 unsigned long ulcon; /* value of ulcon for port */ 249 unsigned long ulcon; /* value of ulcon for port */
270 unsigned long ufcon; /* value of ufcon for port */ 250 unsigned long ufcon; /* value of ufcon for port */
271
272 struct s3c24xx_uart_clksrc *clocks;
273 unsigned int clocks_size;
274}; 251};
275 252
276/* s3c24xx_uart_devs 253/* s3c24xx_uart_devs