Message ID | 1352325657-28885-1-git-send-email-sylvester.nawrocki@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Sylwester Nawrocki wrote: > > 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> > --- > 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 4407b17..04b87ec 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[] = { > CLKDEV_INIT(NULL, "clk_uart_baud1", &s3c24xx_uclk), > CLKDEV_INIT(NULL, "clk_uart_baud2", &clk_p), > CLKDEV_INIT(NULL, "clk_uart_baud3", &s3c2440_clk_fclk_n), > + CLKDEV_INIT("s3c2440-camif", "camera", &s3c2440_clk_cam_upll), > }; > > static int __init_refok s3c2440_clk_add(struct device *dev, struct > subsys_interface *sif) > -- > 1.7.4.1 Applied, thanks. K-Gene <kgene@kernel.org>
diff --git a/arch/arm/mach-s3c24xx/clock-s3c2440.c b/arch/arm/mach-s3c24xx/clock-s3c2440.c index 4407b17..04b87ec 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[] = { CLKDEV_INIT(NULL, "clk_uart_baud1", &s3c24xx_uclk), CLKDEV_INIT(NULL, "clk_uart_baud2", &clk_p), CLKDEV_INIT(NULL, "clk_uart_baud3", &s3c2440_clk_fclk_n), + CLKDEV_INIT("s3c2440-camif", "camera", &s3c2440_clk_cam_upll), }; static int __init_refok s3c2440_clk_add(struct device *dev, struct subsys_interface *sif)
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> --- arch/arm/mach-s3c24xx/clock-s3c2440.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)