diff options
| author | Sylwester Nawrocki <sylvester.nawrocki@gmail.com> | 2012-11-22 00:35:43 -0500 |
|---|---|---|
| committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-11-27 18:03:28 -0500 |
| commit | 7d3b5fac45a5d41cbc6bea9f67bd07a0c50bd118 (patch) | |
| tree | 1524458d6eb71753126e2a0684a70ded4a954fcb | |
| parent | e51d5486a9940e22aa5034bc26cf10ea63ca0b7c (diff) | |
ARM: S3C24XX: Add clkdev entry for camif-upll clock
The s3c-camif driver uses "camera" clock conn_id for the "camif-upll"
(s3c244x) and "camera" (s3c64xx) platform clock. By adding this new
clkdev entry the platform differences are isolated from the driver.
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| -rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2440.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/clock-s3c2440.c b/arch/arm/mach-s3c24xx/clock-s3c2440.c index 4407b1730539..04b87ec92537 100644 --- a/arch/arm/mach-s3c24xx/clock-s3c2440.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2440.c | |||
| @@ -161,6 +161,7 @@ static struct clk_lookup s3c2440_clk_lookup[] = { | |||
| 161 | CLKDEV_INIT(NULL, "clk_uart_baud1", &s3c24xx_uclk), | 161 | CLKDEV_INIT(NULL, "clk_uart_baud1", &s3c24xx_uclk), |
| 162 | CLKDEV_INIT(NULL, "clk_uart_baud2", &clk_p), | 162 | CLKDEV_INIT(NULL, "clk_uart_baud2", &clk_p), |
| 163 | CLKDEV_INIT(NULL, "clk_uart_baud3", &s3c2440_clk_fclk_n), | 163 | CLKDEV_INIT(NULL, "clk_uart_baud3", &s3c2440_clk_fclk_n), |
| 164 | CLKDEV_INIT("s3c2440-camif", "camera", &s3c2440_clk_cam_upll), | ||
| 164 | }; | 165 | }; |
| 165 | 166 | ||
| 166 | static int __init_refok s3c2440_clk_add(struct device *dev, struct subsys_interface *sif) | 167 | static int __init_refok s3c2440_clk_add(struct device *dev, struct subsys_interface *sif) |
