Commit d20cc4c1 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Kukjin Kim
Browse files

ARM: S5PC100: use dma-pl330 device name for clock



This change replaces s3c-pl330.x clock device names with dma-pl330.x,
otherwise there won't be a correspondence between clock device name
and amba device name, thus clocks can't be enabled.

Fixes runtime errors on clk_get() from drivers/dma/pl330.c:
  dma-pl330 dma-pl330.0: Cannot get operation clock.
  dma-pl330: probe of dma-pl330.0 failed with error -22

Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Acked-by: default avatarBoojin Kim <boojin.kim@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 2c929420
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -455,13 +455,13 @@ static struct clk init_clocks_off[] = {
		.ctrlbit	= (1 << 2),
	}, {
		.name		= "pdma",
		.devname	= "s3c-pl330.1",
		.devname	= "dma-pl330.1",
		.parent		= &clk_div_d1_bus.clk,
		.enable		= s5pc100_d1_0_ctrl,
		.ctrlbit	= (1 << 1),
	}, {
		.name		= "pdma",
		.devname	= "s3c-pl330.0",
		.devname	= "dma-pl330.0",
		.parent		= &clk_div_d1_bus.clk,
		.enable		= s5pc100_d1_0_ctrl,
		.ctrlbit	= (1 << 0),