lkml.org 
[lkml]   [2011]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] mfd/db8500-prcmu: rename init function
Date
From: Linus Walleij <linus.walleij@linaro.org>

This renames the PRCMU clock force initialization function
to have a less generic name.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Patch made on Samuel Ortiz' request as a review comment on
"mfd/db8500-prcmu: initialize DB8500 PRCMU regs"
---
drivers/mfd/db8500-prcmu.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 91a5e8c..98da431 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -2154,7 +2154,7 @@ void __init db8500_prcmu_early_init(void)
}
}

-static void __init init_prcm_registers(void)
+static void __init db8500_prcmu_init_clkforce(void)
{
u32 val;

@@ -2412,7 +2412,7 @@ static int __init db8500_prcmu_probe(struct platform_device *pdev)
if (ux500_is_svp())
return -ENODEV;

- init_prcm_registers();
+ db8500_prcmu_init_clkforce();

/* Clean up the mailbox interrupts after pre-kernel code. */
writel(ALL_MBOX_BITS, PRCM_ARM_IT1_CLR);
--
1.7.3.2


\
 
 \ /
  Last update: 2011-10-05 18:53    [W:0.317 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site