From: Thara Gopinath <[email protected]> 

This patch adds device name info to OMAP4 dmtimer fclk nodes so
that the fclk nodes can be retrieved by doing a clk_get with the
corresponding device pointers.

Signed-off-by: Partha Basak <[email protected]>
Signed-off-by: Thara Gopinath <[email protected]>
Signed-off-by: Rajendra Nayak <[email protected]>
Signed-off-by: Tarun Kanti DebBarma <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Tony Lindgren <[email protected]>
---
 arch/arm/mach-omap2/clock44xx_data.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
 mode change 100644 => 100755 arch/arm/mach-omap2/clock44xx_data.c

diff --git a/arch/arm/mach-omap2/clock44xx_data.c 
b/arch/arm/mach-omap2/clock44xx_data.c
index a0e369e..24e4dc3
--- a/arch/arm/mach-omap2/clock44xx_data.c
+++ b/arch/arm/mach-omap2/clock44xx_data.c
@@ -2574,17 +2574,17 @@ static struct omap_clk omap44xx_clks[] = {
        CLK(NULL,       "smartreflex_core_fck",         &smartreflex_core_fck,  
CK_443X),
        CLK(NULL,       "smartreflex_iva_fck",          &smartreflex_iva_fck,   
CK_443X),
        CLK(NULL,       "smartreflex_mpu_fck",          &smartreflex_mpu_fck,   
CK_443X),
-       CLK(NULL,       "gpt1_fck",                     &timer1_fck,    
CK_443X),
-       CLK(NULL,       "gpt10_fck",                    &timer10_fck,   
CK_443X),
-       CLK(NULL,       "gpt11_fck",                    &timer11_fck,   
CK_443X),
-       CLK(NULL,       "gpt2_fck",                     &timer2_fck,    
CK_443X),
-       CLK(NULL,       "gpt3_fck",                     &timer3_fck,    
CK_443X),
-       CLK(NULL,       "gpt4_fck",                     &timer4_fck,    
CK_443X),
-       CLK(NULL,       "gpt5_fck",                     &timer5_fck,    
CK_443X),
-       CLK(NULL,       "gpt6_fck",                     &timer6_fck,    
CK_443X),
-       CLK(NULL,       "gpt7_fck",                     &timer7_fck,    
CK_443X),
-       CLK(NULL,       "gpt8_fck",                     &timer8_fck,    
CK_443X),
-       CLK(NULL,       "gpt9_fck",                     &timer9_fck,    
CK_443X),
+       CLK("dmtimer.0",        "fck",          &timer1_fck,    CK_443X),
+       CLK("dmtimer.9",        "fck",          &timer10_fck,   CK_443X),
+       CLK("dmtimer.10",       "fck",          &timer11_fck,   CK_443X),
+       CLK("dmtimer.1",        "fck",          &timer2_fck,    CK_443X),
+       CLK("dmtimer.2",        "fck",          &timer3_fck,    CK_443X),
+       CLK("dmtimer.3",        "fck",          &timer4_fck,    CK_443X),
+       CLK("dmtimer.4",        "fck",          &timer5_fck,    CK_443X),
+       CLK("dmtimer.5",        "fck",          &timer6_fck,    CK_443X),
+       CLK("dmtimer.6",        "fck",          &timer7_fck,    CK_443X),
+       CLK("dmtimer.7",        "fck",          &timer8_fck,    CK_443X),
+       CLK("dmtimer.8",        "fck",          &timer9_fck,    CK_443X),
        CLK(NULL,       "uart1_fck",                    &uart1_fck,     
CK_443X),
        CLK(NULL,       "uart2_fck",                    &uart2_fck,     
CK_443X),
        CLK(NULL,       "uart3_fck",                    &uart3_fck,     
CK_443X),
-- 
1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to