[PATCH 3/3] versatile: fix static allocation clkdev

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Aug 11 11:07:05 EDT 2011


it's DEV_ID not CON_ID

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 arch/arm/mach-versatile/core.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c
index f58e3bd..1231a7d 100644
--- a/arch/arm/mach-versatile/core.c
+++ b/arch/arm/mach-versatile/core.c
@@ -145,10 +145,10 @@ static int vpb_clocksource_init(void)
 core_initcall(vpb_clocksource_init);
 
 static struct clk_lookup clocks_lookups[] = {
-	CLKDEV_CON_ID("uart-pl0110", &ref_clk_24),
-	CLKDEV_CON_ID("uart-pl0111", &ref_clk_24),
-	CLKDEV_CON_ID("uart-pl0112", &ref_clk_24),
-	CLKDEV_CON_ID("uart-pl0113", &ref_clk_24),
+	CLKDEV_DEV_ID("uart-pl0110", &ref_clk_24),
+	CLKDEV_DEV_ID("uart-pl0111", &ref_clk_24),
+	CLKDEV_DEV_ID("uart-pl0112", &ref_clk_24),
+	CLKDEV_DEV_ID("uart-pl0113", &ref_clk_24),
 };
 
 static int versatile_clkdev_init(void)
-- 
1.7.5.4




More information about the barebox mailing list